Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*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 2005

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

Search the Archive

Re: precision of numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54101] Re: [mg54056] precision of numbers
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 10 Feb 2005 02:47:31 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200502091427.JAA02731@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Floating-point in, then floating-point out!

You could use:

   15525600000*Rationalize[445.25]*24
165906561600000


fartous at mail15.com wrote:
> in the product:
> 15525600000*445.25*24
> the output is:
> 1.65907*(10^14)
> also when we use:
> N[15525600000*445.25*24, 15]
> the output is 1.65907*(10^14)
> but i want the precise number:
> 165906561600000
> what could i do
> jack
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: A nasty 2x2 system of equations?
  • Next by Date: Re: Plotting just specific points
  • Previous by thread: Re: precision of numbers
  • Next by thread: Re: precision of numbers