[Jprogramming] Bug: +./4.57 4.34 4.44
Hauke Rehr
hauke.rehr at uni-jena.de
Sat May 16 09:51:11 UTC 2020
sorry, I was not sufficiently precise about my example
I meant to talk about atomic a only
if $ a is empty, then
+./ (, -) a
will work
Thanks for pointing out the lack of precision.
Am 16.05.20 um 11:46 schrieb Raul Miller:
> I was talking about the implementation.
>
> These are different results:
>
> +./@(,-)4.57 4.34 4.44
> 8.88178e_16
> +./@(,-)&.x:4.57 4.34 4.44
> 0.01
> +./@(,-)&.:(*&1p1)4.57 4.34 4.44
> 5.65432e_16
>
> The reason is that binary floating point cannot represent 5^_1 nor
> 5^_2 accurately.
>
> Thanks,
>
--
----------------------
mail written using NEO
neo-layout.org
More information about the Programming
mailing list