Thanks,
I realized I was scaning doubles using %f and not %lf and this fixed that problem.
Would you by any chance know how to write a random number generator which creates double or float values and computes numbers in a prespecified interval?
Thanks,
Jared
Hi,
I am trying to write a program to handle some simple numerical integration schemes and I keep having certain errors. Whenever I try to convert the integer types from float to double the program stops working, I am getting accuracy errors using float so I would like to know what I am doing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.