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
/
ARCCOSS.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-01-29
|
807b
|
21 lines
' +----------------------------------------------------------------------+
' | |
' | BASWIZ Copyright (c) 1990-1993 Thomas G. Hanlin III |
' | |
' | The BASIC Wizard's Library |
' | |
' +----------------------------------------------------------------------+
DECLARE FUNCTION ArcSinS! (Nr AS SINGLE)
DECLARE FUNCTION PiS! ()
DEFSNG A-Z
FUNCTION ArcCosS! (Nr AS SINGLE)
IF Nr < -1 OR Nr > 1 THEN
ArcCosS! = 99999!
ELSE
ArcCosS! = PiS! / 2! - ArcSinS!(Nr)
END IF
END FUNCTION