added several floating point constants
This commit is contained in:
1 parent
98ad2952b1
commit
2305856d63
25 files changed
+175
-11
No files matched your search
@@ -0,0 +1,13 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
// - Computes Mapping the Commodore 64, page 103
|
||||
//
|
||||
|
||||
const_PI:
|
||||
|
||||
put_const_PI()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,13 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
// - Computes Mapping the Commodore 64, page 105
|
||||
//
|
||||
|
||||
CONST_NEG_32768:
|
||||
|
||||
put_const_NEG_32768()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,13 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
// - Computes Mapping the Commodore 64, page 113
|
||||
//
|
||||
|
||||
const_ONE:
|
||||
|
||||
put_const_ONE()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,12 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
//
|
||||
|
||||
const_INV_SQR_2:
|
||||
|
||||
put_const_INV_SQR_2()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,12 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
//
|
||||
|
||||
const_SQR_2:
|
||||
|
||||
put_const_SQR_2()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,12 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
//
|
||||
|
||||
const_NEG_HALF:
|
||||
|
||||
put_const_NEG_HALF()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,12 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
//
|
||||
|
||||
const_LOG_2:
|
||||
|
||||
put_const_LOG_2()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,13 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
// - Computes Mapping the Commodore 64, page 114
|
||||
//
|
||||
|
||||
const_TEN:
|
||||
|
||||
put_const_TEN()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,13 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
// - Computes Mapping the Commodore 64, page 116
|
||||
//
|
||||
|
||||
const_HALF:
|
||||
|
||||
put_const_HALF()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,12 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
//
|
||||
|
||||
const_INV_LOG_2:
|
||||
|
||||
put_const_INV_LOG_2()
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
@@ -0,0 +1,10 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - a constant, for documentation see:
|
||||
// - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
//
|
||||
|
||||
put_const_ONE() // duplicated constant - no label
|
||||
@@ -0,0 +1 @@
|
||||
A well-known floating-point constant, has to be at the same place or we risk hard to debug improper calculation results.
|
||||
Reference in new issue
Block a user