• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: why are floats flakey?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why are floats flakey?


  • Subject: Re: why are floats flakey?
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 26 May 2004 03:01:31 -0500

On May 25, 2004, at 8:37 PM, John Stiles wrote:

On May 25, 2004, at 5:23 PM, Charles Srstka wrote:

On May 25, 2004, at 11:06 AM, Ondra Cada wrote:

Which is not true (that's why I have written). A ***rational*** [emphasis mine] rate which
happens to be a rate of two prime numbers, (at least) one of which is
outside the integer range (and there provably is an inifinite number of
such prime numbers!) can *never* be expressed using your notation.

Okay, so if either the numerator or the denominator needs to be larger than 18,446,744,073,709,551,615 then you can't express the number as a ratio between two integers. But how often will that happen?

There's always good ol' pi, e, and sqrt(2). Pretty useful numbers, I'd say... :)

I thought we were talking about rational numbers. None of those three constants are rational.

Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >why are floats flakey? (From: justin webster <email@hidden>)
 >Re: why are floats flakey? (From: Raphael Sebbe <email@hidden>)
 >Re: why are floats flakey? (From: Ondra Cada <email@hidden>)
 >Re: why are floats flakey? (From: Raphael Sebbe <email@hidden>)
 >Re: why are floats flakey? (From: Ondra Cada <email@hidden>)
 >Re: why are floats flakey? (From: Charles Srstka <email@hidden>)
 >Re: why are floats flakey? (From: John Stiles <email@hidden>)

  • Prev by Date: [SOLVED] Not reliable trackingRect (move the mouse quickly)
  • Next by Date: Re: cocoa-dev digest, Vol 2 #4247 - 14 msgs
  • Previous by thread: Re: why are floats flakey?
  • Next by thread: Re: why are floats flakey?
  • Index(es):
    • Date
    • Thread