GNU Scientific Library Reference Manual - Third Edition (v1.12)by M. Galassi, J. Davies, J. Theiler, B. Gough, G. Jungman, P. Alken, M. Booth, F. Rossi Paperback (6"x9"), 592 pages, 60 figures ISBN 0954612078 RRP £24.95 ($39.95) |

### 7.31.5 Restriction Functions

__Function:__double**gsl_sf_angle_restrict_symm***(double*`theta`)__Function:__int**gsl_sf_angle_restrict_symm_e***(double **`theta`)- These routines force the angle
`theta`to lie in the range (-\pi,\pi].Note that the mathematical value of \pi is slightly greater than

`M_PI`

, so the machine numbers`M_PI`

and`-M_PI`

are included in the range.

__Function:__double**gsl_sf_angle_restrict_pos***(double*`theta`)__Function:__int**gsl_sf_angle_restrict_pos_e***(double **`theta`)- These routines force the angle
`theta`to lie in the range [0, 2\pi).Note that the mathematical value of 2\pi is slightly greater than

`2*M_PI`

, so the machine number`2*M_PI`

is included in the range.

ISBN 0954612078 | GNU Scientific Library Reference Manual - Third Edition (v1.12) | See the print edition |