~/talk

Relational Floating-Point Arithmetic

Talkat miniKanren 2021 · 2021-08-26..08-27· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Implements a minimal relational floating‑point system (comparisons, addition/subtraction, multiplication/division) in miniKanren, using olekislya's relational natural number helpers, 8‑bit biased exponents, precision 2–16, chopping rounding and no denormals. Relations like fppluso and fpmalto produce correct results and fast queries for many inputs, but multiplication performance shows an exponential cost tied to the number and position of ones in the mantissa (queries ~0.0s up to ~9.5s), and quadratic/golden‑ratio searches blow up with higher precision (no solution at p=7).

AI-written summary · about

  1. 0:00Introduction
  2. 0:20FloatingPoint Numbers
  3. 2:40Comparison Relations
  4. 4:08Floating Point Addition
  5. 7:33Floating Point Multiplication
  6. 13:32Quadratic Equations
  7. 17:05Learning Points
~/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.