Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

DEC64

> 编程语言
Open source

Decimal floating point

989 stars0 likes0 views
WebsiteGitHub

About

Decimal floating point

DEC64: Decimal Floating Point

Douglas Crockford [email protected]

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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言