mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-19 05:47:19 +00:00
Avoid type conversion from float to double implied by comparison to double 0.0 constant
This commit is contained in:
@@ -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() */
|
||||
|
||||
Reference in New Issue
Block a user