uni

Thing1's amazing uni repo
Log | Files | Refs | Submodules

17.02.26.md (298B)


      1 # 17/02/26
      2 
      3 ## floats
      4 
      5 - significand = mantissa
      6 - written as `-1 ^ sign * mantissa * 10 ^ e`
      7     - `12.34 = (-1)^0 * 1.234 * (10 ^ 1)`
      8 - 0 can't be be written with this, as the mantissa must be at least 1 (lower than 10)
      9 
     10 - for binary, we use `-1 ^ sign * mantissa * 2 ^ e`
     11     - where 1 <= m < 2
     12