home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
b
/
baswiz19.zip
/
BW$BAS.ZIP
/
ARCCOSD.BAS
next >
Wrap
BASIC Source File
|
1993-01-29
|
792b
|
19 lines
' +----------------------------------------------------------------------+
' | |
' | BASWIZ Copyright (c) 1990-1993 Thomas G. Hanlin III |
' | |
' | The BASIC Wizard's Library |
' | |
' +----------------------------------------------------------------------+
DECLARE FUNCTION ArcSinD# (Nr AS DOUBLE)
DECLARE FUNCTION PiD# ()
FUNCTION ArcCosD# (Nr AS DOUBLE)
IF Nr < -1# OR Nr > 1# THEN
ArcCosD# = 99999#
ELSE
ArcCosD# = PiD# / 2# - ArcSinD#(Nr)
END IF
END FUNCTION