Re: NSNumberFormatter Strangeness

2011-11-25 Thread Conrad Shultz
Sorry, I didn't mean irrational, I did in fact mean non-finite. But you are right about the hopelessness of actually displaying so many digits. As indicated, I don't in reality intend to do so. Anyhow, as far as I'm concerned this issue is settled. I'm just using 100 now, and will file a bug o

Re: NSNumberFormatter Strangeness

2011-11-25 Thread Jean-Daniel Dupas
Le 25 nov. 2011 à 04:26, Conrad Shultz a écrit : > On 11/24/11 3:20 PM, Jean-Daniel Dupas wrote: >> A formatter is used to convert an internal number representation >> (integer, floating point, fixed point) into a string. Is has nothing >> to do with the precision of the represented value. >> >>

Re: NSNumberFormatter Strangeness

2011-11-24 Thread Conrad Shultz
On 11/24/11 3:20 PM, Jean-Daniel Dupas wrote: > A formatter is used to convert an internal number representation > (integer, floating point, fixed point) into a string. Is has nothing > to do with the precision of the represented value. > > If you use double to do your math, you will get as much p

Re: NSNumberFormatter Strangeness

2011-11-24 Thread Jean-Daniel Dupas
Le 24 nov. 2011 à 23:46, Conrad Shultz a écrit : > On 11/24/11 2:27 PM, Jean-Daniel Dupas wrote: >> Just a question. Why do you need a max frag digit greater than a couple of >> tens ? > > I'm writing a custom formatter that will be used in the context of a > scientific application and which w

Re: NSNumberFormatter Strangeness

2011-11-24 Thread Conrad Shultz
On 11/24/11 2:27 PM, Jean-Daniel Dupas wrote: > Just a question. Why do you need a max frag digit greater than a couple of > tens ? I'm writing a custom formatter that will be used in the context of a scientific application and which will take as input a potentially very precise decimal. The fo

Re: NSNumberFormatter Strangeness

2011-11-24 Thread Jean-Daniel Dupas
Le 24 nov. 2011 à 22:42, Conrad Shultz a écrit : > Greetings, > > (Happy Thanksgiving, to those in countries which celebrate it.) > > I am experiencing a strange behavior with NSNumberFormatter. For > reasons that aren't really relevant to the matter at hand, I wanted to > create a formatter t