floating-point
Efficient strtod in Java?
So I have this Java program that I use to munch through several terabytes of data. Performance is a concern.[详细]
2023-04-03 18:10 分类:问答How do you correctly calculate a running average of large sets of numbers with 32-bit floating point?
I\'m writing a path tracer and have to collect an average over a large number of samples per pixel. I get significant visual differences between a 1024-samples run and a 16384-samples run; the 16384-s[详细]
2023-04-03 14:54 分类:问答Android RatingBar doesn't accept float values
I have an android rating bar in my app, and it only displays int ratings. For example: float ratingValue = 1.5f;[详细]
2023-04-03 13:47 分类:问答incorrect value after casting double to a float
I have some C code performing high precision arithmetic compiled by gcc(gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13)).The final result of the calculation is a double which has a value of 622.0799999586[详细]
2023-04-03 12:37 分类:问答printf by given pointer and format string. Issue with floats
As I want to keep track of some variables in order to see how they change, I want to create a function, which receives a format string, depending on the variable\'s type and a pointer to the value. I[详细]
2023-04-03 09:55 分类:问答sorting floats numerically - not in ascii order - in python
This might sound like a silly question, but I\'ve tried to find an answer that works without much success. I\'ve got a list of lists:[详细]
2023-04-03 08:09 分类:问答Javascript, weird floating point number endless decimal?
I need some help with floating point numbers...please! Here\'s the thing, I have code like below: <script>[详细]
2023-04-03 07:06 分类:问答subnormal IEEE 754 floating point numbers support on iOS ARM devices (iPhone 4)
While porting an application from Linux x86 to iOS ARM (iPhone 4), I\'ve discovered a difference in behavior on floating point arithmetics and small values.[详细]
2023-04-03 06:45 分类:问答Text to floating point: how does it work
Sa开发者_C百科y, I write down in a programming language the characters 5.4 and store it into a double variable. How exactly does a computer decide what floating point representation (mantissa and expo[详细]
2023-04-03 06:12 分类:问答Floating point arithmetic -- mantissa and exponent
I have been trying to understand floating point numbers 开发者_开发百科in Assembly, but mention keeps being made of the mantissa and exponent.[详细]
2023-04-03 03:06 分类:问答