On 31.10.2010, at 21:25, commits@source.squeak.org wrote:
----- Method: Float>>degreeCos (in category 'mathematical functions') ----- degreeCos
- "Take care of exceptional values"
- self isFinite ifTrue: [^super degreeCos].
- ^self radiansToDegrees cos!
- "Answer the cosine of the receiver taken as an angle in degrees."
- ^ self degreesToRadians cos!
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?
- Bert -
2010/11/1 Bert Freudenberg bert@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...
squeak-dev@lists.squeakfoundation.org