Top "Ieee-754" questions

IEEE 754 is the most common & widely used floating-point standard, notably the single-precision binary32 aka float and double-precision binary64 aka double formats.

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 …

python parsing floating-point binaryfiles ieee-754
PLC Structured text, convert decimal to real(float). Not getting the value I expect. (IEEE-754)

I have a hardware that is communicating with the PLC over Profibus DP, that sends me 4 bytes of data in …

floating-point decimal ieee-754 plc codesys
Is floating-point math consistent in C#? Can it be?

No, this is not another "Why is (1/3.0)*3 != 1" question. I've been reading about floating-points a lot lately; specifically, how the same …

c# .net floating-point precision ieee-754
Denormalized Numbers - IEEE 754 Floating Point

So I'm trying to learn more about Denormalized numbers as defined in the IEEE 754 standard for Floating Point numbers. I've …

performance floating-point standards ieee-754
How to get the IEEE 754 binary representation of a float in C#

I have some single and double precision floats that I want to write to and read from a byte[]. Is …

c# binary floating-point ieee-754
Type-juggling and (strict) greater/lesser-than comparisons in PHP

PHP is famous for its type-juggling. I must admit it puzzles me, and I'm having a hard time to find …

php if-statement comparison logic ieee-754
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 …

java floating-point ieee-754 precision
Why does the floating-point value of 4*0.1 look nice in Python 3 but 3*0.1 doesn't?

I know that most decimals don't have an exact floating point representation (Is floating point math broken?). But I don't …

python floating-point rounding floating-accuracy ieee-754
Ensuring C++ doubles are 64 bits

In my C++ program, I need to pull a 64 bit float from an external byte sequence. Is there some way …

c++ types precision compiler-construction ieee-754
How to check if C++ compiler uses IEEE 754 floating point standard

I would like to ask a question that follows this one which is pretty well answered by the define check …

c++ compiler-construction floating-point ieee-754