MathGroup Archive 2009

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

Search the Archive

Re: Unexpected behavior of Floor and IntegerPart

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97957] Re: Unexpected behavior of Floor and IntegerPart
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Thu, 26 Mar 2009 05:24:28 -0500 (EST)
  • References: <gqacr4$jbm$1@smc.vnet.net> <gqd1nb$nq4$1@smc.vnet.net>

On Mar 25, 12:40 pm, wayne <wayneb... at gmail.com> wrote:
> On Mar 24, 6:32 pm, Curtis Osterhoudt <c... at lanl.gov> wrote:> Dear List,
>
> >    I'm sure this is a result of non-infinite-precision arithmetic, =
bu=
>
> t it would be nice to have a more consistent behavior:
>

It is consistent, consistent between different functions, that is:

Try these:

Rationalize[0.29*100, 0]

Rationalize[0.29*100, 0] < 29


  • Prev by Date: Read data structure from binary file
  • Next by Date: Re: Plot - Filling area that is above more curves
  • Previous by thread: Re: Unexpected behavior of Floor and IntegerPart
  • Next by thread: Re: Unexpected behavior of Floor and IntegerPart