MathGroup Archive 2004

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

Search the Archive

bug in IntegerPart ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47736] bug in IntegerPart ?
  • From: "Dennis de Lang" <lang.NO at science.uva.nl>
  • Date: Sat, 24 Apr 2004 04:15:34 -0400 (EDT)
  • Organization: Faculty of Science, University of Amsterdam
  • Sender: owner-wri-mathgroup at wolfram.com

Why does the following happen?

In[1]:= (1.65 - 1.3)/0.007
Out[1]:= 50.
In[2]:= IntegerPart[%]
Out[2]:= 49

but:

In[1]:= 0.35/0.007
Out[1]:= 50.
In[2]:= IntegerPart[%]
Out[2]:= 50

I'm puzzled....
- Dennis



  • Prev by Date: UnitStep Function in ODE
  • Next by Date: Re: Problems integrating BesselJ
  • Previous by thread: Re: UnitStep Function in ODE
  • Next by thread: RE: bug in IntegerPart ?