Update page 'Day 1 homework - Xuanyi Wang (Sloetjes)'

xuanyi.wang
2023-03-30 20:58:07 +02:00
parent 3006857831
commit 1da2b18604
+2 -2
@@ -10,11 +10,11 @@
#### 2. How many bits are the floating point numbers defined by that standard allowed to be? #### 2. How many bits are the floating point numbers defined by that standard allowed to be?
**##### Single-precision format (32-bits)** **Single-precision format (32-bits)**
Single-precision format floating-point numbers are represented using 32 bits, with 1 bit for the sign, 8 bits for the exponent, and 23 bits for the significand (mantissa); Single-precision format floating-point numbers are represented using 32 bits, with 1 bit for the sign, 8 bits for the exponent, and 23 bits for the significand (mantissa);
**##### Double-precision format (64-bits)** **Double-precision format (64-bits)**
Double-precision floating-point numbers are represented using 64 bits, with 1 bit for the sign, 11 bits for the exponent, and 52 bits for the significand. Double-precision floating-point numbers are represented using 64 bits, with 1 bit for the sign, 11 bits for the exponent, and 52 bits for the significand.