Re: nan (was: math.e and misc.e)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> 
> Juergen Luethje wrote:
> 
> > MIN_INTEGER = #C0000000      -- = -power(2,30)
> 
> Now there's a mistake I've made quite a few times recently blink
> 
> The above is of course +3221225472, instead use any of:
> -#40000000, #C0000000-#100000000, -1073741824, or -power(2,30).
> 
> Regards,
> Pete

Nice point, Pete. I made the same mistake at least once while trying to figure
these things out.


--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu