×   Main Menu ALL The 8BS News Manuals (New menu) Links Worth a Look Tools Disc and Basic Webring Site Map 8BS Guestbook Old Guest Book Me The Barnsley Rovers   
8-Bit Software

The BBC and Master Computer Public Domain Library

BF24 Table of Floating Point Constants

Submitted by Steve Fewell

Description:

This is a start of the table of Mathematical Constants that BASIC uses.
Each Floating Point Constant is stored as a 5-byte floating point variable.
That is where the 1st Byte = Exponent and the next 4 bytes = the Mantissa value (MSB first).

It's contents are as follows:

Start Address Exponent Mantissa 1 Mantissa 2 Mantissa 3 Mantissa 4 Value Description
BF24 81 C9 10 00 00 -1.57080078
BF29 6F 15 77 7A 61 0.00000445445511
BF2E 81 49 0F DA A2 1.57079633 Pi/2
BF33 80 22 F9 83 6E 0.636619772 2/Pi
BF38 7B 0E FA 35 12 0.0174532925 Degree (= Pi / 180)
BF3D 86 65 2E E0 D3 57.2957795 Radan (= 1 / (Pi / 180) [i.e.: 1 / Degree])
BF42 7F 5E 5B D8 AA 0.434294482 1/Log(10)
BF47 82 2D F8 54 58 2.71828183 exp(1) [or just e]
BF4C 80 31 72 17 F8 0.693147181 Log(2)
BF51 80 0B D7 50 29 0.546254168 LN continued-fraction expanion series - adder 1
BF56 7C D2 7C 86 05 -0.0513882861 LN continued-fraction expanion series - divisor 1
BF5B 80 15 52 B6 36 0.583293331 LN continued-fraction expanion series - adder 2
BF60 7C 99 98 36 04 -0.0374986753 LN continued-fraction expanion series - divisor 2
BF65 80 40 00 01 10 0.750000063 LN continued-fraction expanion series - adder 3
BF6A 7F 2A AA AA E3 0.33333334 1/3 -> LN continued-fraction expanion series - divisor 3
BF6F 7F FF FF FF FF -0.5 -1/2 -> LN continued-fraction expanion series - adder 4
BF74 7A C3 1E 18 BE -0.0119090311 SIN/COS continued-fraction expanion series - adder 1
BF79 73 61 71 55 2D 0.000107499459 SIN/COS continued-fraction expanion series - divisor 1
BF7E 7B 8C 9B 91 88 -0.0171640246 SIN/COS continued-fraction expanion series - adder 2
BF83 77 2B A4 C4 53 0.0013095369 SIN/COS continued-fraction expanion series - divisor 2
BF88 7C 4C CC CA B7 0.0499999922 SIN/COS continued-fraction expanion series - adder 3
BF8D 7E AA AA AA A6 -0.166666666 -1/6 -> SIN/COS continued-fraction expanion series -divisor 3
BF92 81 00 00 00 00 1 SIN/COS continued-fraction expanion series - adder 4
BF97 7D A3 F2 EF 44 -0.0800532048 ATN continued-fraction expanion series - adder 1
BF9C 7E 1F 01 A1 4D 0.155279656 ATN continued-fraction expanion series - divisor 1
BFA1 7F 61 6D F4 3F 0.440292008 ATN continued-fraction expanion series - adder 2
BFA6 7E 5C 91 23 AC 0.215397413 ATN continued-fraction expanion series - divisor 2
BFAB 7E 76 B8 8D 1A 0.240938382 ATN continued-fraction expanion series - adder 3
BFB0 7D 1D 3E AB 2C 0.0767796872 ATN continued-fraction expanion series - divisor 3
BFB5 81 09 41 81 D2 1.07231162 ATN continued-fraction expanion series - adder 4
BFBA 80 74 DF BD 20 0.956538983 ATN continued-fraction expanion series - divisor 4
BFBF 80 83 8B 1F B5 -0.513841612 ATN continued-fraction expanion series - adder 5
BFC4 7F 82 59 AD AB -0.254590442 ATN continued-fraction expanion series - divisor 5
BFC9 80 6D 63 38 2C 0.927295218 2*arctan(1/2) [or arccos(sqrt(9/25))] -> ATN continued-fraction expanion series - adder 6
BFCE 7D 11 D4 B1 D1 0.071206464 EXP continued-fraction expanion series - adder 1
BFD3 79 68 BC 4F 59 0.00710252642 EXP continued-fraction expanion series - divisor 1
BFD8 75 05 2C 9E 39 0.000254009799 EXP continued-fraction expanion series - adder 2
BFDD 7B 08 88 3B A6 0.0166665235 EXP continued-fraction expanion series - divisor 2
BFE2 6C 31 CF D1 8C 0.000000662400541 EXP continued-fraction expanion series - adder 3
BFE7 7D 2A AA AA 89 0.0833333324 EXP continued-fraction expanion series - divisor 3
BFEC 7F FF FF FF E8 -0.499999997 EXP continued-fraction expanion series - adder 4
BFF1 81 00 00 00 00 1 EXP continued-fraction expanion series - divisor 4
BFF6 81 00 00 00 00 1 EXP continued-fraction expanion series - adder 5
Other Constants:
---- 81 80 00 00 00 -1 Calc in LN (A746)

 


 Back to 8BS
Or