Re: A question on machine numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg29900] Re: A question on machine numbers
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 18 Jul 2001 02:08:44 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9j0hji$fjq$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, In[]:={$MachineEpsilon, $MinMachineNumber, $MaxMachineNumber} Out[]={2.220446049250313*^-16, 2.2250738585072014*^-308, 1.7976931348623157*^308} A Cray computer (if there would be an Mathematica for it) would return other vaules. Regards Jens "Ersek, Ted R" wrote: > > Which if any platforms running Mathematica > version 3 or 4 return something different for > the following input. > ----------- > > In[1]:= > {N[2^-52] === $MachineEpsilon, > N[2^-1022] === $MinMachineNumber, > N[2^1024] === $MaxMachineNumber} > > Out[1]= > {True, True, True} > > ------------- > I understand this is the > case for double precision on any computer which > uses IEEE 754 floating point arithmetic. > > Thanks, > Ted Ersek