#define CMO_64BIT_MACHINE_DOUBLE 40 #define CMO_ARRAY_OF_64BIT_MACHINE_DOUBLE 41 #define CMO_128BIT_MACHINE_DOUBLE 42 #define CMO_ARRAY_OF_128BIT_MACHINE_DOUBLE 43
Group CMObject/MachineDouble requires CMObject/Primitive.
64bit machine double, Array of 64bit machine double
128bit machine double, Array of 128bit machine double
CMObject/MachineDouble
#define CMO_IEEE_DOUBLE_FLOAT 51
IEEE 準拠の float については, IEEE 754 double precision floating-point format (64 bit) の定義を見よ.
256.100006 の Intel Pentium の double64 での内部表現は
cd 0c 80 43
256.100006 の PowerPC (Mac) の double64 での内部表現は
43 80 0c cd .
この例でみるように byte の順序が逆である.
エンジンスタートの時の byte order negotiation で byte の順序を指定する.