C language to compare two floating-point numbers:
C language to compare two floating-point numbers with "==", the return value is completely uncertain.
Thus only a defined accuracy to determine equality:
IF (FABS (ab &) < 0.0000001 ) { // Double type a and b are approximately equal }