eric-unc/psil

Number handling

Opened this issue · 0 comments

Currently Psil just handles all numbers as f64. Limp had a division between integer and floats with some automatic conversions. Racket has both ints and floats, as well as ratios, complex/imaginary number, and a distinction between "exact"/"inexact" number as well. I'm not sure how useful all of that is, but it would be good to have a flexible kind of number. I would like to be able to implement bitwise.