"These functions calculate a <=> b. That is, if a is less than b, they return -1; if a is greater than b, they return 1; and if a and b are equal they return 0. If either argument is NaN they return 1..."
Note that this matches the definition of __ledf2, __eqdf2, __nedf2, __cmpdf2,
and __ltdf2.
fn __cmpdf2(a: f64, b: f64) callconv(.c) i32
fn __cmpdf2(a: f64, b: f64) callconv(.c) i32 {
return @backingInt(comparef.cmpf2(f64, comparef.LE, a, b));
}