After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 625968 - endianess convertion on 64 bit float is incorrect
endianess convertion on 64 bit float is incorrect
Status: RESOLVED FIXED
Product: ghex
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GHex maintainers
GHex maintainers
: 648644 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-08-03 18:30 UTC by Victor Bogado da Silva Lins
Modified: 2011-09-06 00:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for the problem, formated by git. (1.11 KB, patch)
2010-08-03 18:30 UTC, Victor Bogado da Silva Lins
committed Details | Review

Description Victor Bogado da Silva Lins 2010-08-03 18:30:40 UTC
Created attachment 167065 [details] [review]
fix for the problem, formated by git.

64bits float should be converted simply inverting all bytes. The conversion applyed is for what the wikipeadia article calls "middle-endian. 

see : http://en.wikipedia.org/wiki/Endianness
Comment 1 Kalev Lember 2011-09-05 23:57:52 UTC
*** Bug 648644 has been marked as a duplicate of this bug. ***
Comment 2 Kalev Lember 2011-09-06 00:01:53 UTC
Review of attachment 167065 [details] [review]:

Thanks, pushed to master as 37f60708.