gridcoin-community / Gridcoin-Research

Gridcoin-Research
MIT License
585 stars 173 forks source link

build: Implement comp_double comparison function in certain tests #2741

Closed jamescowens closed 4 months ago

jamescowens commented 4 months ago

This is the final fix for the openSUSE GCC13 i386 floating point issues. This implements a special comp_double comparison function for certain doubles to deal with the small errors introduced in string to floating point conversions on openSUSE GCC13 x86 32-bit, without making these tests insensitive to the point of invalidity on other compilers/platforms.

Closes #2691.