Example #1
0
flag
__unorddf2(float64 a, float64 b) {
    /*
     * The comparison is unordered if either input is a NaN.
     * Test for this by comparing each operand with itself.
     * We must perform both comparisons to correctly check for
     * signalling NaNs.
     */
    return 1 ^ (float64_eq(a, a) & float64_eq(b, b));
}
Example #2
0
int
__aeabi_dcmpun(float64 a, float64 b)
{
    /*
     * The comparison is unordered if either input is a NaN.
     * Test for this by comparing each operand with itself.
     * We must perform both comparisons to correctly check for
     * signalling NaNs.
     */
    return !float64_eq(a, a) || !float64_eq(b, b);
}
Example #3
0
flag
__eqdf2(float64 a, float64 b)
{

	/* libgcc1.c says !(a == b) */
	return !float64_eq(a, b);
}
Example #4
0
flag
__nedf2(float64 a, float64 b)
{

	/* libgcc1.c says a != b */
	return !float64_eq(a, b);
}
Example #5
0
int
__aeabi_dcmpgt(float64 a, float64 b)
{

    return !float64_le(a, b) && float64_eq(a, a) && float64_eq(b, b);
}
Example #6
0
int __nedf2(float64 A, float64 B)
{
	return !float64_eq(A, B);
}
Example #7
0
int
__aeabi_dcmpeq(float64 a, float64 b)
{

	return float64_eq(a, b);
}