some more floating point constants

This commit is contained in:
FeralChild64 committed 2020-02-05 19:37:45 +01:00
1 parent 377b217aec
commit 9b94f30f98
10 files changed
+70 -14

No files matched your search

@@ -0,0 +1,12 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Math package - a constant, for documentation see:
// - https://sourceforge.net/p/acme-crossass/code-0/38/tree/trunk/ACME_Lib/cbm/c64/float.a?force=True
//
const_HALF_PI:
put_const_HALF_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,12 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Math package - a constant, for documentation see:
// - https://sourceforge.net/p/acme-crossass/code-0/38/tree/trunk/ACME_Lib/cbm/c64/float.a?force=True
//
const_DOUBLE_PI:
put_const_DOUBLE_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,12 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Math package - a constant, for documentation see:
// - https://sourceforge.net/p/acme-crossass/code-0/38/tree/trunk/ACME_Lib/cbm/c64/float.a?force=True
//
const_QUARTER:
put_const_QUARTER()
+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,10 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Math package - a constant, for documentation see:
// - https://sourceforge.net/p/acme-crossass/code-0/38/tree/trunk/ACME_Lib/cbm/c64/float.a?force=True
//
put_const_DOUBLE_PI() // 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.