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

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

Search the Archive

Re: creating exact numbers, strange behavior

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53054] Re: creating exact numbers, strange behavior
  • From: "Maxim A. Dubinnyi" <maxim at nmr.ru>
  • Date: Wed, 22 Dec 2004 04:52:44 -0500 (EST)
  • References: <200412180859.DAA02167@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Quotient[7*10^100, 10^100]
7

7.*10^100 is not exact integer number
7*10^100 is.

Matthias Gottschalk wrote:

>Hi,
>
>I try to convert machine number into an exact number. I do this the 
>following way:
>
>In[] = Quotient[7.*10^30,10^30]
>
>Out[] = 7
>
>that is fine.
>
>
>In[] = Quotient[7.*10^99, 10^99]
>
>Out[] = 7
>
>still fine.
>
>
>In[] = Quotient[7.*10^100,10^100]
>
>Out[] = 6
>
>????????, I think that is bad.
>Or am I doing something wrong?
>
>
>  
>




  • Prev by Date: Re: Questions about "collecting" complex exponentials and simplifying expressions
  • Next by Date: Why doesn't DSolve solve this?
  • Previous by thread: Re: creating exact numbers, strange behavior
  • Next by thread: Re : simply problem (not for me) about axes scale