[PD] Long long numbers
Patrice Colet
pat at mamalala.org
Sat Dec 22 04:16:11 CET 2007
Mathieu Bouchard a écrit :
> On Fri, 21 Dec 2007, B. Bogart wrote:
>
>> I always wonder when you say large numbers and rotation...
>>
>> Do you really need large numbers? I never checked if its slower to
>> rotateXYZ to 360*100 compared to rotation to 360.
>
> I really wonder why Dafydd wants large numbers for rotation. I thought
> that it was for something that really needs large numbers. For all you
> can see on a display, float32 is already much more than necessary.
>
float32 is not enough for avoiding round off errors with astronomical
values, for example if we would like to use the Newton universal
gravitation formula,
F = G(m1*m2)/r^2
the radius would exceed the range of affordable numbers into this
computation, and then the result wouldn't be accurate, so we can not
simulate Newton laws with using pd arithmetic objects only.
Cheerfull xmas and NYear.
More information about the Pd-list
mailing list