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

commits at source.squeak.org commits at source.squeak.org
Mon Nov 1 11:00:25 UTC 2010


Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.511.mcz

==================== Summary ====================

Name: Kernel-nice.511
Author: nice
Time: 1 November 2010, 11:59:51.145 am
UUID: 4f6eaafc-6665-4092-ac07-d87ecb2b5d30
Ancestors: Kernel-nice.510

Correct the confusion radiansToDegrees/degreesToRadians
Thanks Bert

=============== Diff against Kernel-nice.510 ===============

Item was changed:
  ----- Method: Float>>degreeCos (in category 'mathematical functions') -----
  degreeCos
  	"Take care of exceptional values"
  	
  	self isFinite ifTrue: [^super degreeCos].
+ 	^self degreesToRadians cos!
- 	^self radiansToDegrees cos!

Item was changed:
  ----- Method: Float>>degreeSin (in category 'mathematical functions') -----
  degreeSin
  	"Take care of exceptional values"
  	
  	self isFinite ifTrue: [^super degreeSin].
+ 	^self degreesToRadians sin!
- 	^self radiansToDegrees sin!




More information about the Squeak-dev mailing list