26 #if defined (HAVE_CONFIG_H)
141 return std::log (
x) / M_LN2;
147 return std::log (
x) /
static_cast<float> (M_LN2);
166 double lax =
log2 (ax, exp);
167 return (ax != lax) ? (
x / ax) * lax :
x;
174 float lax =
log2 (ax, exp);
175 return (ax != lax) ? (
x / ax) * lax :
x;
215 return static_cast<int> ((
x > 0.0) ? (
x + 0.5) : (
x - 0.5));
226 return static_cast<int> ((
x > 0.0f) ? (
x + 0.5f) : (
x - 0.5f));
289 return x < 0.0f ?
FloatComplex (std::log (-
x),
static_cast<float> (M_PI))
296 constexpr
double PI_LN2 = 4.53236014182719380962;
303 constexpr
float PI_LN2 = 4.53236014182719380962f;
311 constexpr
double PI_LN10 = 1.36437635384184134748;
318 constexpr
float PI_LN10 = 1.36437635384184134748f;
ComplexColumnVector conj(const ComplexColumnVector &a)
charNDArray max(char d, const charNDArray &m)
charNDArray min(char d, const charNDArray &m)
ColumnVector real(const ComplexColumnVector &a)
ColumnVector imag(const ComplexColumnVector &a)
int __lo_ieee_signbit(double x)
int __lo_ieee_float_signbit(float x)
F77_RET_T const F77_DBLE * x
double octave_frexp_wrapper(double x, int *expptr)
float octave_frexpf_wrapper(float x, int *expptr)
Complex rc_acos(double x)
double frexp(double x, int *expptr)
bool is_NaN_or_NA(const Complex &x)
octave_idx_type nint_big(double x)
Complex acos(const Complex &x)
Complex asin(const Complex &x)
Complex rc_log2(double x)
Complex rc_sqrt(double x)
Complex rc_atanh(double x)
bool negative_sign(double x)
Complex rc_acosh(double x)
FloatComplex acos(const FloatComplex &x)
Complex rc_log10(double x)
Complex rc_asin(double x)
Complex log2(const Complex &x)
FloatComplex asin(const FloatComplex &x)
std::complex< double > Complex
std::complex< float > FloatComplex