Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 06:04:51 +0000



Post From: compare two floating points

[2021-02-12 12:42:19]
User907968 - Posts: 840
Remove the long from the following -
long float diff = fabs(f1 - f2);

long float is not a built-in type in c++ - https://en.cppreference.com/w/cpp/language/types