On 05/11/2014 02:54 PM, Mark H Harris wrote:
>julia> sin(BigFloat(π/4))
> 7.0710678118654750275194295621751674626154323953749278952436611913748
> 20215180412e-01 with 256 bits of precision
That answer doesn't seem to come anywhere near 256 bits of precision.
Using Python 3.2,
>>> x=70710678118654750275194295621751674626154323953749278952436611913748
>>> x*x
4999999999999999693838300213161705693483516931249926767981110058185818806614907837502621065882204197129973479350206261627418690991407504
Not that this is surprising, but it does make a terrible ad for how
great Julia is.
--
DaveA
--
https://mail.python.org/mailman/listinfo/python-list