source: LMDZ6/branches/Amaury_dev/libf/misc/cbrt.f90 @ 5112

Last change on this file since 5112 was 5105, checked in by abarral, 2 months ago

Replace 1DUTILS.h by module lmdz_1dutils.f90
Replace 1DConv.h by module lmdz_old_1dconv.f90 (it's only used by old_* files)
Convert *.F to *.f90
Fix gradsdef.h formatting
Remove unnecessary "RETURN" at the end of functions/subroutines

File size: 164 bytes
Line 
1FUNCTION cbrt(x)
2  ! ! Return the cubic root for positive or negative x
3  IMPLICIT NONE
4
5  REAL :: x,cbrt
6
7  cbrt=sign(1.,x)*(abs(x)**(1./3.))
8
9
10END FUNCTION cbrt
11
Note: See TracBrowser for help on using the repository browser.