floating-accuracy
What should i know when using floats/doubles between different machines?
I\'ve heard that there are many problems with floats/doubles on different CPU\'s. If i want to make a game that uses floats for everything, how can i be sure the float calculations are exactly the sa[详细]
2023-03-23 15:36 分类:问答pyinterval with trvial floating point example doesn't seem to be working
There are probably hundreds of questions on here about floating point rou开发者_JAVA百科nding errors, and the solution is supposed to be interval arithmetic which helps keep track of them. As I\'d lik[详细]
2023-03-20 15:29 分类:问答Floating point truncation vs rounding by hand
I am trying to convert a decimal to a floating point integer on using 32 bit registers. I have to do this by hand (pencil and paper) so far my number is[详细]
2023-03-13 08:51 分类:问答Best way to handle Fixed point/ percision decimal in Ruby on Rails
So I am creating a time tracking application using Ruby On Rails and am storing the time as a number representing hours.[详细]
2023-03-12 16:36 分类:问答Understanding floating point representation errors; what's wrong with my thinking?
I\'m having some trouble understanding why some figures can\'t be represented with floating point number.[详细]
2023-03-11 22:43 分类:问答Should I expect differences in the ouput of a cuda application between generations?
I have some code that is compiled and tested on both Tesla and Fermi generation chipsets. Across all Tesla generation chips (260,280,c1060) the output is consistent.[详细]
2023-03-11 01:20 分类:问答Why do I need 17 significant digits (and not 16) to represent a double?
Can someone give me an example of a floating point number (double precision), that needs more than 16 significant decimal digits to represent it?[详细]
2023-03-08 08:22 分类:问答choosing floating point calculation model
my question is mainly for开发者_如何学Go scientific computations but I am asking in general. How do you practically choose fp model in compiler ? for example intel has precise, strict, fast, extended,[详细]
2023-03-06 19:27 分类:问答c++ log function is using floating point precision
I am having an interesting seg fault in the following function when I give it a number very close to 1.0. Specifically when the number would be rounded to 1.0 at FLOATING POINT precision.[详细]
2023-03-06 14:30 分类:问答DBL_MAX & Max value of a double
This line: NSLog(@\"DBL_MAX: %f\", DBL_MAX); prints this very large value: 17976931348623157081452742373170435679807056752584499659891747680315726078002853876058955863276687817154045895351438246423[详细]
2023-03-01 16:17 分类:问答