MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

RealDigits rounds sometimes


In Mathematica 5.01:

RealDigits[Pi,10,5] gives 3.1416

RealDigits[355/113,10,5] gives 3.1415

RealDigits[355./113,10,5] gives 3.1416

Earlier versions, Mathematica 4.1 and 4.2 never round as near as I can tell.

Can anyone tell me under what conditions I can expect rounding to occur, and can I stop
this behavior in 5.01?



  • Prev by Date: Re: Asymmetric quadratic coefficient problem
  • Next by Date: Odd evaluate behavior in notebooks...
  • Previous by thread: similarity definition between two sets with the different cardinality
  • Next by thread: Odd evaluate behavior in notebooks...