[squeak-dev] The Trunk: Kernel-nice.510.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Nov 1 10:58:02 UTC 2010


2010/11/1 Bert Freudenberg <bert at freudenbergs.de>:

>> Item was changed:
>>  ----- Method: Float>>degreeSin (in category 'mathematical functions') -----
>>  degreeSin
>> +     "Take care of exceptional values"
>> +
>> +     self isFinite ifTrue: [^super degreeSin].
>> +     ^self radiansToDegrees sin!
>> -     "Answer the sine of the receiver taken as an angle in degrees."
>> -
>> -     ^ self degreesToRadians sin!
>
>
> These surely should still use degreesToRadians, no?
>

Blush...



More information about the Squeak-dev mailing list