26#if ! defined (octave_DET_h)
29#include "octave-config.h"
44 m_c2 = octave::math::log2 (c, m_e2);
51 e *= octave::math::log2 (b);
53 c *= octave::math::exp2 (e - m_e2);
55 m_c2 = octave::math::log2 (c,
f);
59 OCTAVE_DEFAULT_COPY_MOVE_DELETE (
base_det)
61 T
coef ()
const {
return m_c2; }
62 int exp ()
const {
return m_e2; }
64 T
value ()
const {
return m_c2 *
static_cast<T
> (std::ldexp (1.0, m_e2)); }
65 operator T ()
const {
return value (); }
74 m_c2 = octave::math::log2 (m_c2, e);
base_det< FloatComplex > FloatComplexDET
base_det< float > FloatDET
base_det< Complex > ComplexDET
base_det(T c, double e, double b)
F77_RET_T const F77_DBLE const F77_DBLE * f