[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-19 Thread cdm
this issue must be tied to the setup ... the screencapture indicates Juno/LightTable on a Mac. i have not used that setup before, but it is not obvious from the screenshot that Julia was used to evaluate the expression ... a Julia kernel hosted at tmpnb.org did not yield any such error. a REPL

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-19 Thread Intrinsic Audio
As it turns out, it was because of the environment. Running the REPL in the terminal did not yield the error, so this looks like a Juno/LightTable quirk. I'm now thinking it was just a rounding error in the display. Thanks for the help though! On Wednesday, November 19, 2014 7:36:56 PM UTC-5

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-19 Thread Hisham Assi
I tried it in REPL, IJulia, and Juno (all on OS X 10.10.1), The problem was reproduced only on Juno.

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-19 Thread Hisham Assi
It is just display format in Juno

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-19 Thread Jeff Waller
I'm curious what happens if you try 44099*(65536/65536)

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-20 Thread Arch Call
As Hissam Assi states this is strictly an issue with how Juno displays the Eval of a specific Julia statement. If you use println() to show the statement in the Output panel everything is OK. See the attached screen print which shows the difference between Eval and println(). On Wednesday, N

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-20 Thread cdm
so, are the boxed displays in Juno using Julia to determine the Eval values of 44100.0 ... ? is the boxed display format configurable by the Juno user ? what does the boxed display in Juno show when the expression 44099 * (1/1) == 44100 is evaluated ... ? best, cdm On Thursday, Novemb

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-20 Thread Arch Call
Requested screen print is attached. On Wednesday, November 19, 2014 2:47:20 PM UTC-5, Intrinsic Audio wrote: > > I've found an interesting issue in Julia that, though it seems trivial in > the application I've given, is really messing up my code and my ability to > guarantee its performance. >

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-20 Thread Ken B
for reference, here is the issue https://github.com/one-more-minute/Julia-LT/issues/114 I've been bitten by this one also in the past, but luckily it's only the display On Thursday, 20 November 2014 10:27:02 UTC+1, Arch Call wrote: > > Requested screen print is attached. > > > > On Wednesday, No

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-26 Thread Mike Innes
Woops, shouldn't have missed this thread. Either way I just pushed 0.9.1 which turns off all rounding in display. On Thursday, 20 November 2014 10:59:25 UTC, Ken B wrote: > > for reference, here is the issue > https://github.com/one-more-minute/Julia-LT/issues/114 > I've been bitten by this one

[julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-26 Thread Pileas
It does not happen in my machine either. Τη Τετάρτη, 19 Νοεμβρίου 2014 2:47:20 μ.μ. UTC-5, ο χρήστης Intrinsic Audio έγραψε: > > I've found an interesting issue in Julia that, though it seems trivial in > the application I've given, is really messing up my code and my ability to > guarantee its

Re: [julia-users] Re: Significant rounding error in Julia: N * (1/1) == N + 1

2014-11-19 Thread Stefan Karpinski
I'm curious how one can have plain looking code like that and actually be doing Float16 arithmetic. That seems like an odd thing for Juno to do. Also, I think we've really hit the edge of what it means for Float16 to be a purely storage format: it has so few significant digits that all sorts of