~/talk

Rational Arithmetic

Talkat Dyalog '20 · 2020-11-09..11-10· [compilers-and-language-design]
name:Roger Hui
links:none on file
slides:none on file

Describes a concrete rational system: a three-part scalar representation (decimal digits of numerator, decimal digits of denominator, separate sign) with numerators and denominators reduced to lowest terms, a monadic operator Q that lifts scalar functions to exact rational computation, and a qi rational input that converts floats or strings into rationals with optional tolerance. Examples show continued fractions giving Fibonacci ratios, Newton iterations for sqrt(2) doubling correct digits, Hilbert-matrix inverse yielding an exact identity, and 7 − 100×0.07 evaluating to 0; workspace download available.

AI-written summary · about

  1. 0:00Start
  2. 8:56Format Function
  3. 10:29Examples of Using Rational Arithmetic
  4. 10:39Continue Fractions
  5. 12:51A Square Root Using Newton's Method
  6. 16:20Matrix Inverse
  7. 20:20Exponential Functions
  8. 20:43Big Floats
  9. 22:44Big Flows
  10. 23:45What Happens if We Use Qi on Irrational Numbers
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.