added several floating point constants

This commit is contained in:
FeralChild64 committed 2020-02-04 22:49:01 +01:00
1 parent 98ad2952b1
commit 2305856d63
25 files changed
+175 -11

No files matched your search

+13
View File
@@ -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()
+1
View File
@@ -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()
+1
View File
@@ -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.
+13
View File
@@ -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()
+1
View File
@@ -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()
+1
View File
@@ -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.
+12
View File
@@ -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()
+1
View File
@@ -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()
+1
View File
@@ -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.
+12
View File
@@ -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()
+1
View File
@@ -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.
+13
View File
@@ -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()
+1
View File
@@ -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.
+13
View File
@@ -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()
+1
View File
@@ -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()
+1
View File
@@ -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.
+10
View File
@@ -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
+1
View File
@@ -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.