inexact-number-lang
8.12

inexact-number-lang🔗ℹ

source code: https://github.com/AlexKnauth/inexact-number-lang

A lang-extension that reads all numbers as inexact, whether they have a decimal point or not.
Example:
#lang inexact-number racket
 
5
; => 5.0
1/2
; => 0.5
-0
; => -0.0
(/ -0)
; => -inf.0