Menu

#247 java.lang.NumberFormatException in floor of big rational

v1.0 (example)
open
nobody
None
5
2015-12-16
2015-12-16
No

I beleive this is a bug (sisc 1.16.6, java 1.7.0_91; as included in Debian jessie):

#;> (floor (/ 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 5))
Error in floor: <java.lang.NumberFormatException>: Infinite or NaN

expected result (from guile):

4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444

Discussion


Log in to post a comment.

MongoDB Logo MongoDB