dcbrt |
Table of contents
ProcedureDCBRT ( Double precision cube root ) DOUBLE PRECISION FUNCTION DCBRT ( X ) AbstractReturn the cube root of a double precision number. Required_ReadingNone. KeywordsMATH ROOT DeclarationsIMPLICIT NONE DOUBLE PRECISION X Brief_I/OVARIABLE I/O DESCRIPTION -------- --- -------------------------------------------------- X I Number whose cube root is desired. The function returns the cube root of the input value. Detailed_InputX is a double precision value. Detailed_OutputThe function returns the cube root of the input value. ParametersNone. ExceptionsError free. FilesNone. ParticularsDCBRT calculates the cube root of the input value by using the exponentiation operator to raise the input value to the 1/3 power. This operation, however, is performed on the absolute value of the input variable, and then the sign of the input is transferred to the output value. All values of the input variable X should be acceptable to the DCBRT. ExamplesThe following table gives sample values of the variable X and DCBRT(X) X DCBRT(X) -------------------------------------------------------------- 0.0D0 0.0D0 8.0D0 2.0D0 -1.0D3 -1.0D1 RestrictionsNone. Literature_ReferencesNone. Author_and_InstitutionJ. Diaz del Rio (ODC Space) W.M. Owen (JPL) W.L. Taber (JPL) VersionSPICELIB Version 1.1.0, 17-JUN-2021 (JDR) Added IMPLICIT NONE statement. Edited the header to comply with NAIF standard. SPICELIB Version 1.0.1, 10-MAR-1992 (WLT) Comment section for permuted index source lines was added following the header. SPICELIB Version 1.0.0, 31-JAN-1990 (WMO) |
Fri Dec 31 18:36:12 2021