source:
trunk/LMDZ.MARS/libf/misc/cbrt.F
@
2031
| Last change on this file since 2031 was 38, checked in by , 15 years ago | |
|---|---|
| File size: 127 bytes | |
| Line | |
|---|---|
| 1 | FUNCTION cbrt(x) |
| 2 | IMPLICIT NONE |
| 3 | |
| 4 | REAL x,cbrt |
| 5 | |
| 6 | cbrt=sign(1.,x)*(abs(x)**(1./3.)) |
| 7 | |
| 8 | RETURN |
| 9 | END |
Note: See TracBrowser
for help on using the repository browser.
