mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-13 23:27:12 +00:00
Avoid type conversion from float to double implied by comparison to double 0.0 constant
This commit is contained in:
parent
f51d269b1e
commit
ddc09e09ba
@ -283,7 +283,7 @@ checkfloats:
|
||||
N_MakeFloat(arg1, f1, arg2);
|
||||
N_MakeFloat(arg2, f2, arg2);
|
||||
if (f1 == f2) return (ATOM_T);
|
||||
if ((f1 == -0.0) && (f2 == 0.0)) return (ATOM_T);
|
||||
if ((f1 == 0.0) && (f2 == -0.0)) return (ATOM_T);
|
||||
if ((f1 == -0.0f) && (f2 == 0.0f)) return (ATOM_T);
|
||||
if ((f1 == 0.0f) && (f2 == -0.0f)) return (ATOM_T);
|
||||
return (NIL);
|
||||
} /* end N_OP_eqq() */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user