Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexknauth/inexact-number-lang
- Owner: AlexKnauth
- License: mit
- Created: 2019-01-20T23:09:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-07T14:48:00.000Z (almost 3 years ago)
- Last Synced: 2024-10-16T02:55:02.615Z (3 months ago)
- Language: Racket
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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 racket5
; => 5.0
1/2
; => 0.5
-0
; => -0.0
(/ -0)
; => -inf.0
```