July 06, 2011
On Jul 6, 11 06:59, Walter Bright wrote:
> On 7/5/2011 3:45 PM, Don wrote:
>>> Another thing -- why are some constants defined in decimal, others in
>>> hex, and
>>> one (E) with the long 'L' suffix?
>>
>> The ones defined in decimal are obsolete, they haven't had a
>> conversion to hex yet.
>
> The ones in hex I got out of a book that helpfully printed them as octal
> values. I wanted exact bit patterns, not decimal conversions that might
> suffer if there's a flaw in the lexer.
>
> It's hard to come by textbook values for some of these that are high
> precision.
>
> It's definitely not good enough to just write some simple fp program to
> generate them.

http://www.wolframalpha.com/input/?i=pi+in+hexadecimal
July 06, 2011
On 7/5/2011 11:12 PM, KennyTM~ wrote:
> On Jul 6, 11 06:59, Walter Bright wrote:
>> It's definitely not good enough to just write some simple fp program to
>> generate them.
>
> http://www.wolframalpha.com/input/?i=pi+in+hexadecimal

sweet!
1 2
Next ›   Last »