ieee-754
Reading 32 bit signed ieee 754 floating points from a binary file with python?
I have a binary file which is simple a list of signed 32 bit ieee754 floating point numbers. They are not separated by anything, and simply appear one after another until EOF.[详细]
2023-03-11 04:32 分类:问答How does the C == operator decide whether or not two floating point values are equal?
Today I was tracking down why my program was getting some unexpected checksum-mismatch errors, in some code that I wrote that serializes and deserializes IEEE-754 floating-point values, in a format th[详细]
2023-03-10 16:48 分类:问答Half-precision floating-point in Java
Is there a Java library anywhere that can perform computations on IEEE 754 half-precision numbers or convert them to and from double-precision?[详细]
2023-03-09 10:39 分类:问答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 分类:问答How computer does floating point arithmetic?
I have seen long articles explaining how floating point numbers can be stored and how the arithmetic of those numbers is being done, but please briefly explain why when I write[详细]
2023-03-06 07:30 分类:问答How to convert hex value to single precision floating point number and also in double precision floating point number according to the IEEE-754 format
Can someone please tell me how i can convert a Hex string to its correspond开发者_JAVA技巧ing single precision or double precision floating point number according to the IEEE-754 format in java?[详细]
2023-03-04 03:55 分类:问答Round to nearest low-level implementation
I\'ve got some low-level question: Let\'s assume we\'ve got the decimal number 0.1 (we can represent this very exactly by writing 1/10 - but that is not a solution). Converted into a binary numbe开发者[详细]
2023-03-03 18:47 分类:问答Why does casting Double.NaN to int not throw an exception in Java?
So I know the IEEE 754 specifies some special floating point values for values that are not real numbers.In Java, casting those values to a primitive int does not开发者_JS百科 throw an exception like[详细]
2023-03-02 20:21 分类:问答How to convert 2+(2/7) to IEEE 754 floating point
Can someone explain to me the steps to convert a number in decimal format (such as 2+(2/7)) into IEEE 75开发者_JAVA技巧4 Floating Point representation? Thanks!First, 2 + 2/7 isn\'t in what most people[详细]
2023-02-27 15:32 分类:问答converting between float <-> int in javascript
I have a javascript program (running in jsdb which uses Mozilla Spidermonkey 1.8, not in a browser) that I need to convert float and doubles to/from the appropriate number of bytes of their IEEE repre[详细]
2023-02-17 03:35 分类:问答