naginterfaces.library.machine.sinarg_max¶
- naginterfaces.library.machine.sinarg_max()[source]¶
sinarg_max
returns the largest positive argument for which the Fortran intrinsic functions SIN and COS return a result with some meaningful accuracy.For full information please refer to the NAG Library document for x02ah
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/x02/x02ahf.html
- Returns
- maxscfloat
The largest positive argument for which the Fortran intrinsic functions SIN and COS return a result with some meaningful accuracy.
- Notes
The trigonometric functions and supplied in some compiler run-time libraries do not return accurate results when their argument is large. Often the related accuracy of a result gets progressively worse as the argument gets larger.
sinarg_max
gives a value beyond which the compiler run-time library returns results with no relative accuracy at all. Note that some run-time libraries do return accurate results for all arguments to and .