~/talk

Integers, Floating Points or Exotic Representations ...

TalkinFrenchat Devoxx France 2022 · 2022-04-20..04-22· [software-architecture]
slides:none on file

Explains why binary (base‑2) is preferred for hardware despite an information-theory optimum near e states, shows two’s‑complement uses less hardware than ones’ complement and gives concrete integer ranges (e.g. 8‑bit signed −128..127). Compares floating‑point versus fixed‑point: floats are approximate and can be slower on some CPUs, while fixed‑point (example: scale 256) speeds a rotozoom on a 486 by using integer addresses; demos include the fast inverse square root (≈0.001 precision), Bresenham’s line algorithm implemented as one add plus one branch per pixel, and LFSR counters with up to 255 states.

AI-written summary · about

  1. 0:00Number representation intro
  2. 4:31Optimal base choice
  3. 8:02Binary and positional notation
  4. 10:29Negative numbers
  5. 15:24Floating point limits
  6. 23:46Fixed-point applications
  7. 27:18Bresenham line algorithm
  8. 32:58Exotic representations
  9. 36:46Finance number formats
  10. 38:16Counters and shift registers
  11. 43:09Representation choices recap
  12. 45:36Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.