1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// See LICENSE.SoftFloat for license details. #include <stdbool.h> #include <stdint.h> #include "platform.h" #include "primitives.h" bool softfloat_lt128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) { return ( a64 < b64 ) || ( ( a64 == b64 ) && ( a0 < b0 ) ); }