chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Sapphire / csapph / h / sqrt
1 /*
2  * sqrt.h
3  *
4  * [Generated from sqrt, 25 September 1996]
5  */
6
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8   #error You must use the Norcroft ARM Compiler for Sapphire programs
9 #endif
10
11 #pragma include_only_once
12 #pragma force_top_level
13
14 #ifndef __sqrt_h
15 #define __sqrt_h
16
17 #ifndef __sapphire_h
18   #include "sapphire.h"
19 #endif
20
21 /*----- Overview ----------------------------------------------------------*
22  *
23  * Functions provided:
24  *
25  *  sqrt
26  */
27
28 /* --- sqrt --- *
29  *
30  * On entry:    R0 == value to square-root
31  *
32  * On exit:     R0 == the result
33  *
34  * Use:         Evaluates the square root of the number given.  This routine
35  *              is constructed from the information supplied by David Seal,
36  *              and is *extremely* fast.
37  */
38
39 extern routine sqrt;
40
41 /*----- That's all, folks -------------------------------------------------*/
42
43 #endif