[erlang-questions] Accessing A Binary as an Array of Floats/Doubles Within a NIF

Richard A. O'Keefe ok@REDACTED
Tue Jun 21 03:58:24 CEST 2016


The chances are that C code on a 32-bit machine
will be happy with 32-bit alignment for doubles.
(Unless your 32-bit C code is using x86 vector
instructions, in which case 64-bit alignment
would not be enough either.)




More information about the erlang-questions mailing list