single vs double precision in Max 6.1.2

May 3, 2013 at 6:58pm

single vs double precision in Max 6.1.2

from what i read in the 6.1.2 sdk float message passing in 64-bit mode should now be able to preserve double precision:
“Additionally, the size of the t_atom is 8-bytes on x64, meaning that double-precision floating pointer numbers can be represented.”

it seems this is not implemented correctly for all objects, (yet?)
if you run the example below in 64-bit mode, to my understanding only the calculation in the middle returns the correct result.
is this just in need of a fix, or am i missing something here?

btw is there an easy way to detect from inside an external if max is running in 64-bit or 32-bit mode?

– Pasted Max Patch, click to expand. –
May 27, 2013 at 6:29am

Thanks for the example. We will investigate.


You must be logged in to reply to this topic.