login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #182 Floating point error round(-3.77623) etc. revision 6 of 6

1 2 3 4 5 6
Editor: kratt6
Time: 2007/12/28 12:49:54 GMT-8
Note:


        

Submitted by : (unknown) at: 2007-11-17T22:04:06-08:00 (15 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

earlier versions of axiom gave:

  round(3.77623) => 4 
  round(-3.77623) => -5 ** wrong!

This was fixed by Dylan with Patch 2074:

axiom
round(3.77623)

\label{eq1}4.0(1)
Type: Float
axiom
round(-3.77623)

\label{eq2}-{4.0}(2)
Type: Float