From: SourceForge.net <no...@so...> - 2008-01-09 22:10:02
|
Bugs item #1867942, was opened at 2008-01-09 16:22 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1867942&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 - Floating point Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Volker van Nek (van_nek) Assigned to: Barton Willis (willisbl) Summary: round doesn't evaluate 1.0b0 Initial Comment: round doesn't when the argument is a bigfloat with an integer number value. examples: map(round, [1.b0, 1.1b1, 1.11b2, 10.b-1, 100.b-2]); [round(1.0b0), round(1.1b1), round(1.11b2), round(1.0b0), round(1.0b0)] Volker van Nek ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2008-01-09 17:10 Message: Logged In: YES user_id=28849 Originator: NO This fails also for floats that are integers. I think the problem is in simp-round which doesn't handle the case where the floor and ceiling of the number are the same. ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2008-01-09 16:59 Message: Logged In: YES user_id=28849 Originator: NO This fails also for floats that are integers. I think the problem is in simp-round which doesn't handle the case where the floor and ceiling of the number are the same. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1867942&group_id=4933 |