You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 502 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Float values in the bytecode format seem not to be portable between
x86 (or SPARC) and StrongARM.
For example, running a piece of bytecode for the following:
print_float 1.5
results in different outputs between x86 and StrongARM.
Masatomo Hashimoto (masatomo@carc.aist.go.jp)
The text was updated successfully, but these errors were encountered:
Float values in the bytecode format seem not to be portable between
x86 (or SPARC) and StrongARM.
For example, running a piece of bytecode for the following:
print_float 1.5
results in different outputs between x86 and StrongARM.
Right. The ARM has a non-standard format for double-precision floats,
which is neither big-endian nor little-endian. E.g. the IEEE double
"1.5" is represented as
00 00 00 00 00 00 f8 3f
on a little-endian machine,
3f f8 00 00 00 00 00 00
on a big-endian machine, and
00 00 f8 3f 00 00 00 00
on the ARM.
OCaml can handle the little-endian/big-endian conversion, but that's all.
Original bug ID: 502
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Float values in the bytecode format seem not to be portable between
x86 (or SPARC) and StrongARM.
For example, running a piece of bytecode for the following:
results in different outputs between x86 and StrongARM.
The text was updated successfully, but these errors were encountered: