Changeset 5105 for LMDZ6/branches/Amaury_dev/libf/misc/cbrt.f90
- Timestamp:
- Jul 23, 2024, 7:14:34 PM (8 weeks ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/misc/cbrt.f90
r5104 r5105 1 2 3 1 FUNCTION cbrt(x) 2 ! ! Return the cubic root for positive or negative x 3 IMPLICIT NONE 4 4 5 REALx,cbrt5 REAL :: x,cbrt 6 6 7 7 cbrt=sign(1.,x)*(abs(x)**(1./3.)) 8 8 9 RETURN10 END11 9 10 END FUNCTION cbrt 11
Note: See TracChangeset
for help on using the changeset viewer.