The Trunk: Kernel-nice.511.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-nice.511.mcz

commits-2
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!