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
What steps will reproduce the problem?
1. Generate a (correct) Messagepacked structure containing a float (say,
1234.5).
2. Parse it with Coder.php
3. Compare it with the original number.
What is the expected output? What do you see instead?
- Expected output, 1234.5... actual output, something*10^41.
What version of the product are you using? On what operating system?
- i686 AFAIK, on an Amazon instance.
Please provide any additional information below.
- Messagepack specifies big-endian floats, so on little-endian hardware I had
to do this instead (Coder.php line 196):
$unpack = unpack('f', strrev(substr($messagePack, 0, 4)));
Original issue reported on code.google.com by [email protected] on 30 Sep 2013 at 12:04
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 30 Sep 2013 at 12:04The text was updated successfully, but these errors were encountered: