I have a list of floating point errors and I'm having some difficulty with one of the issues. If anyone can help me, I'm grateful.
For the code below, I need to justify the reason for the error.
int main () {
double x;
x = 0.;
printf(...
On the Windows calculator: 9 / 3,0001 = 2,999 ...
In my program: 9 / 3,0001 = 3;
I would like to get this level of precision using C.
See excerpts from my program:
double op(double num1, double num2, char c)
{
if(c == '/')...
Hello, I need ajax help, I think it's a silly thing, but I'm having a hard time and I did not find anything related on the internet about it, I need to pass ajax parameter to my controller, but float type, I created a json object to try to get t...
#include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main() {
float parede, litros;
printf ("Calcular litros de tintas por metros quadrados.\n");
print...
When compiling the code I get the error in the title of the question for the line res100=notas%100;
How to solve?
Code:
float notas,N100,M1,M050,M025,M010,M005,M001,res100,res2,res1,res05,res025,res010,res005,res001,N50,N20,...
I have a dataframe with columns of Latitude and Longitude, in the format string
Atibaia['LATITUDE'].head()
140 -231,124,852,387,647
245 -231,159,749,902,692
254 -23,116,747,205
512 -231,560,912,572,211
1348 -23,11...