|
Last change
on this file since 521 was 521, checked in by bird, 22 years ago |
|
Math fixup.
|
-
Property cvs2svn:cvs-rev
set to
1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
247 bytes
|
| Line | |
|---|
| 1 | /* cbrtl.c (emx+gcc) -- Copyright (c) 1992-1995 by Eberhard Mattes */
|
|---|
| 2 |
|
|---|
| 3 | #include "libc-alias.h"
|
|---|
| 4 | #include <math.h>
|
|---|
| 5 |
|
|---|
| 6 | long double _STD(cbrtl) (long double x)
|
|---|
| 7 | {
|
|---|
| 8 | if (x >= 0)
|
|---|
| 9 | return _powl (x, 1.0 / 3.0);
|
|---|
| 10 | else
|
|---|
| 11 | return -_powl (-x, 1.0 / 3.0);
|
|---|
| 12 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.