|
Last change
on this file since 1118 was 731, checked in by tbretz, 25 years ago |
|
*** empty log message ***
|
-
Property svn:executable
set to
*
|
|
File size:
487 bytes
|
| Line | |
|---|
| 1 | #include "slalib.h"
|
|---|
| 2 | #include "slamac.h"
|
|---|
| 3 | float slaRange ( float angle )
|
|---|
| 4 | /*
|
|---|
| 5 | ** - - - - - - - - -
|
|---|
| 6 | ** s l a R a n g e
|
|---|
| 7 | ** - - - - - - - - -
|
|---|
| 8 | **
|
|---|
| 9 | ** Normalize angle into range +/- pi.
|
|---|
| 10 | **
|
|---|
| 11 | ** (single precision)
|
|---|
| 12 | **
|
|---|
| 13 | ** Given:
|
|---|
| 14 | ** angle float the angle in radians
|
|---|
| 15 | **
|
|---|
| 16 | ** The result is angle expressed in the +/- pi (single precision).
|
|---|
| 17 | **
|
|---|
| 18 | ** Last revision: 31 October 1993
|
|---|
| 19 | **
|
|---|
| 20 | ** Copyright P.T.Wallace. All rights reserved.
|
|---|
| 21 | */
|
|---|
| 22 | {
|
|---|
| 23 | return (float) slaDrange ( (double) angle );
|
|---|
| 24 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.