Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

FractionalPart

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31232] FractionalPart
  • From: "Juan" <erfa11 at hotmail.com>
  • Date: Sat, 20 Oct 2001 04:27:05 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello.
I am new in Mathematica(also in english), and I have this question:
I would like to know the behavior of the function FractionalPart.
See here:

In[1]:= a=Range[9]^2
Out[1]= {1,4,9,16,25,36,49,64,81}

In[2]:= x=Exp[.5 Log[a]]
Out[2]= {1,2.,3.,4.,5.,6.,7.,8.,9.}

In[3]:= FractionalPart[x]
Out[3]= {0,0.,4.444089x10^-16,0.,0.,1.,0.,0.,1.,1.77639x10^-15}

But it shoud be 0., all of them,no?

Thanks. Juan


_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp



  • Prev by Date: Mathematica 4.1 under Windows XP
  • Next by Date: Re: Switching x and y axes in 2D plots
  • Previous by thread: Re: Mathematica 4.1 under Windows XP
  • Next by thread: Re: FractionalPart