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