Relative Content

Tag Archive for cfloating-pointcompare

Why the C standard library haven’t isequal?

C standard library have: isgreater,isgreaterequal,isless,islessequal,islessgreater, isunordered.
And why the C standard library haven’t isequal? It should be easy to implement like that:

Why the C standard library haven’t isequal?

C standard library have: isgreater,isgreaterequal,isless,islessequal,islessgreater, isunordered.
And why doesn’t the C standard library have isequal? It should be easy to implement like that: