Quantcast
Channel: Why is LDBL_MAX 1.18973E+4932 and how is this possible? - Unix & Linux Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Fox for Why is LDBL_MAX 1.18973E+4932 and how is this possible?

You are probably used to thinking of numbers as some number times some power of 10. Floating point numbers are represented as some number times some power of 2. You can represent 102410 (100000000002)...

View Article



Why is LDBL_MAX 1.18973E+4932 and how is this possible?

If I write a C program to say the value of LDBL_MAX the largest value for a long double, #include <float.h> #include <stdio.h> int main(void) { const long double max = LDBL_MAX;...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images