- posted
13 years ago
avr-gcc float
Loading thread data ...
- Vote on answer
- posted
13 years ago
Float zajmuje 4 bajty, a tu masz liste zmniennych:
(signed/unsigned) char - 1 byte (signed/unsigned) short - 2 bytes (signed/unsigned) int - 2 bytes (signed/unsigned) long - 4 bytes (signed/unsigned) long long - 8 bytes float - 4 bytes (floating point) double - alias to float
- Vote on answer
- posted
13 years ago
pawel pisze:
formatting link
The minimum positive (subnormal) value is 2^−149 ≈ 1.4 × 10^−45. The minimum positive normal value is 2^−126 ≈ 1.18 × 10^−38. The maximum representable value is (2−2^−23) × 2^127 ≈ 3.4 × 10^38.