colord icon indicating copy to clipboard operation
colord copied to clipboard

ch-math seems broken on big-endian systems?

Open RAOF opened this issue 4 years ago • 0 comments

Or at least the tests? ch-self-test.c has a bunch of tests of the form ch_double_to_packed_float(3.1415, &pf) followed by pulling out the low 16 bits and high 16 bits of the ChPackedFloat and then expecting them to have certain values. I don't think this works on big-endian systems.

Empirically, I'm now running these tests in the Debian packaging and they're failing on big-endian systems.

RAOF avatar Dec 16 '20 05:12 RAOF