Status: Fixed Owner: stephane.ducasse Labels: Milestone-1.2 Type-Squeak New issue 3244 by stephane.ducasse: Correct the confusion radiansToDegrees/degreesToRadians http://code.google.com/p/pharo/issues/detail?id=3244 I integrated the first enh so we should fix it with this change now. 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!