Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/douglascrockford/DEC64
Decimal floating point
https://github.com/douglascrockford/DEC64
Last synced: 13 days ago
JSON representation
Decimal floating point
- Host: GitHub
- URL: https://github.com/douglascrockford/DEC64
- Owner: douglascrockford
- Created: 2014-03-08T15:53:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T03:16:39.000Z (7 months ago)
- Last Synced: 2024-06-15T06:32:57.547Z (5 months ago)
- Language: C
- Size: 392 KB
- Stars: 955
- Watchers: 55
- Forks: 58
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
DEC64: Decimal Floating Point
Douglas Crockford
[email protected]dec64.com
2022-09-07
Public DomainNO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
SUBJECT TO CHANGE WITHOUT NOTICE.DEC64 is a decimal floating point format for the next generation of
application programming languages.dec64.asm is an implementation of the elementary operators for x64 processors.
dec64.s is an implementation of the elementary operators for ARM64 processors.
dec64.obj.html is a description of the functions in dec64.asm and dec64.s.
dec64.h is a companion header file for C.
dec64_test.c is a test program.
dec64_string.c is an implementation of functions for converting between DEC64
and strings.dec64_string.html is a description of the functions in dec64_string.c.
dec64_string.h is a companion header file.
dec64_string_test.c is a test program.
dec64_math.c is a placeholder implementation of elementary functions. Many of these function are not accurate enough or fast enough. It should be replaced with a better implementation. The functions include
acos asin atan atan2 cos exp factorial
log raise root sin sqrt tan
and
random seeddec64_math.html is a description of the functions in dec64_math.h.
dec64_math.h is a companion header file.
dec64_math_test.c is a test program.
dec64.html is a descriptive web page.
dec64.png is a logo.
Vadim Pisarevsky has prepared a C++ version that can be found at https://github.com/vpisarev/DEC64/tree/alt
A NASM port of dec64.asm is available at https://gist.github.com/jamesdiacono/bc9337520727876e09bafaf98225019c, which passes the tests on Linux and MacOS.