« Return to Thread: When integers go bad

Re: When integers go bad

by Dan Stowell :: Rate this Message:

Reply to Author | View in Thread

Well that's fine, but initially I was just wondering if it was by
design or by accident, because Octave/Ruby/others insulate their
integers against that weirdness. My guess would be that the CPU
overhead needed for that insulation wouldn't be popular in SC, so I'm
OK to live with it if that's the design.

But it's interesting to discuss this topic. I don't think it's
entirely fair to dismiss this thread as "bickering", I wouldn't call
it that (yet).

Dan


2008/2/27, James Harkins <jamshark70@...>:

> My feeling is, it's well known where the math primitives live, so if
>  you want a difference in behavior, write the code and post a diff so
>  we can see if it's worth it. I don't see the value in bickering about
>  it further :)  ... just show me some code that works. Propose
>  something, then we have something that's really productive to discuss.
>
>  Sorry if this is too blunt.... not a good day at work. I shouldn't
>  take it out on you folks...
>  hjh
>
>  On Wed, Feb 27, 2008 at 2:12 PM, Julian Rohrhuber
>
> <rohrhuber@...> wrote:
>
> > before you get infinities, you get degraded precision.
>  >
>  >  a = 3; b = 2147483647.0; b ** a ** (1/a) - b
>  >
>  >  -2.6226043701172e-06
>
>
>
>
> --
>
> James Harkins /// dewdrop world
>  jamshark70@...
>  http://www.dewdrop-world.net
>
>  "Come said the Muse,
>  Sing me a song no poet has yet chanted,
>  Sing me the universal."  -- Whitman
>  _______________________________________________
>  Sc-devel mailing list
>  Sc-devel@...
>  http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>


--
http://www.mcld.co.uk
_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

 « Return to Thread: When integers go bad