Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexknauth/inexact-number-lang

A lang-extension that reads every number as inexact
https://github.com/alexknauth/inexact-number-lang

Last synced: about 1 month ago
JSON representation

A lang-extension that reads every number as inexact

Awesome Lists containing this project

README

        

# inexact-number-lang

A lang-extension that reads all numbers as inexact, whether they have a decimal point or not.

Example:

```racket
#lang inexact-number racket

5
; => 5.0
1/2
; => 0.5
-0
; => -0.0
(/ -0)
; => -inf.0
```