-
Notifications
You must be signed in to change notification settings - Fork 54
/
README
54 lines (32 loc) · 1.65 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
DEC64: Decimal Floating Point
Douglas Crockford
dec64.com
2022-09-07
Public Domain
NO 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 seed
dec64_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.