Posts by Renatho Azevedo • 53 points
1 post
-
5
votes1
answer65
viewsQ: Why does Std::Ceil produce different results for float and double?
Follows the code: #include <iostream> #include<math.h> using namespace std; int main() { float calculo = 4.347 * 20 * 100; double calculo2 = 4.347 * 20 * 100;…