Title: | Fast Math v3.2 |
This patch speeds up sin() and cos() functions of Basic 2.0 up to 10 times. | |
Filename: | fastmathv3.2.prg (Click to download) |
Category: | Library |
Platform: | C64 |
Language: | Basic |
Date: | 1993.05.12 |
Size: | 3773 bytes |
Programmer: | İlker Fıçıcılar |
|
This program changes BASIC sin() and cos() to calculate sinus and cosinus 3 to 10 times faster using approximation tables. If you set the program to calculate in degrees your calculations will be even faster. Its settings: sys49152 :activates the fastmath sys49155 :disactivates the fastmath sys49158 :sets to find sine in radian sys49161 :sets to find cosine in radian sys49164 :sets to find sine in degrees sys49167 :sets to find cosine in degrees This program is installed at $c000-$c2af. I wrote this code in 1993, when I was studying physics at METU. I used it a lot to shorten hours of calculations at 1MHz. There was no Internet then; so it took 22 years to undust and publish it here for archival purposes. |
Tags: | BASIC 2.0, BASIC extension, Commodore, mathematics, physics |