It is by design.
Speaking of floating-point values, please remember that they are never accurate, so be careful. Example:
wrong: if (f==4.1) printf ("Equals to 4.1");
good: if (fabs (f-4.1)<0.0000001) printf ("Equals to 4.1");
Copyright © 2026 eLLeNow.com All Rights Reserved.