From: SourceForge.net <no...@so...> - 2009-02-13 14:25:51
|
Bugs item #2582731, was opened at 2009-02-09 16:18 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2582731&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Lisp Core Group: To be reviewed >Status: Pending >Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: wrong sine computation Initial Comment: tried this on Linux and Windows: fpprec:70; bfloat(asin(sin(0.1))) should be 0.1, results in a number > 1 ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2009-02-13 09:25 Message: Marking as pending/invalid. ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2009-02-09 16:23 Message: Please show exactly what you got. I get the following: (%i133) bfloat(asin(sin(0.1))); (%o133) 1.000000000000000055511151231257827021181583404541015625b-1 This is the expected answer because bfloat(0.1) is precisely %o133. (0.1 is a double-float which doesn't have an exact floating-point representation. The conversion to bfloat shows that.) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2582731&group_id=4933 |