Conversation
|
I noticed the same problem in my Android builds and came up with basically the same minimal fix. However, I'm wondering whether it would make more sense to determine the floating point format using |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1390 +/- ##
========================================
Coverage 95.35% 95.35%
========================================
Files 825 825
Lines 68203 68203
========================================
+ Hits 65033 65034 +1
+ Misses 3170 3169 -1
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
I was thinking the same thing. Now that we assert the value of |
|
@jzmaddock do you have any opinions on this reorganization? I left in the special cases that we have no way of testing (e.g. Motorola 68000k) |
|
I confess I was thinking of making much the same changes - it looks logical to me - however, I guess the question is do we have say 64-bit (long) doubles which are not in IEEE format, and will therefore cause the code logic to fail? This is old code that we inherited, and was reviewed in it's own right as I recall, the intention was to select for platforms with known bit-layouts, the newly added static_asserts were supposed to just be a quick sanity double check that all was well. So that worked well then! |
The only mainstream non-IEEE long double I am aware of that's still floating around is |
Closes: #1389