This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The problem with cbrt, unlike sqrt, is that its is more expressive than pow. i.e. cbrt(-29.7) = -3.1 but pow(-29.7,1.0/3.0) => EDOM. Hence we can't normalize cbrt(x) as pow(x,1.0/3.0),
but we can safely go the other way pow(x,1.0/3.0) => cbrt(x).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |