Lines Matching defs:sc_fxval_fast

73 class sc_fxval_fast;
106 sc_fxval(const sc_fxval_fast &, sc_fxval_observer* = 0);
152 DECL_BIN_OP_T(op, const sc_fxval_fast &) \
170 DECL_BIN_OP_T(/, const sc_fxval_fast &)
210 DECL_BIN_FNC_T(fnc, const sc_fxval_fast &) \
248 DECL_REL_OP_T(op, const sc_fxval_fast &) \
283 DECL_ASN_OP_T(op, const sc_fxval_fast &) \
371 // CLASS : sc_fxval_fast
376 class sc_fxval_fast
384 explicit sc_fxval_fast(sc_fxval_fast_observer * =0);
385 explicit sc_fxval_fast(int, sc_fxval_fast_observer * =0);
386 explicit sc_fxval_fast(unsigned int, sc_fxval_fast_observer * =0);
387 explicit sc_fxval_fast(long, sc_fxval_fast_observer * =0);
388 explicit sc_fxval_fast(unsigned long, sc_fxval_fast_observer * =0);
389 explicit sc_fxval_fast(float, sc_fxval_fast_observer * =0);
390 explicit sc_fxval_fast(double, sc_fxval_fast_observer * =0);
391 explicit sc_fxval_fast(const char *, sc_fxval_fast_observer * =0);
392 sc_fxval_fast(const sc_fxval &, sc_fxval_fast_observer * =0);
393 sc_fxval_fast(const sc_fxval_fast &, sc_fxval_fast_observer * =0);
394 sc_fxval_fast(const sc_fxnum &, sc_fxval_fast_observer * =0);
395 sc_fxval_fast(const sc_fxnum_fast &, sc_fxval_fast_observer * =0);
397 explicit sc_fxval_fast(int64, sc_fxval_fast_observer * =0);
398 explicit sc_fxval_fast(uint64, sc_fxval_fast_observer * =0);
399 explicit sc_fxval_fast(const sc_int_base &, sc_fxval_fast_observer * =0);
400 explicit sc_fxval_fast(const sc_uint_base &, sc_fxval_fast_observer * =0);
401 explicit sc_fxval_fast(const sc_signed &, sc_fxval_fast_observer * =0);
402 explicit sc_fxval_fast(const sc_unsigned &, sc_fxval_fast_observer * =0);
404 ~sc_fxval_fast();
411 const sc_fxval_fast operator - () const;
412 const sc_fxval_fast & operator + () const;
415 friend void neg(sc_fxval_fast &, const sc_fxval_fast &);
419 friend const sc_fxval_fast operator op (const sc_fxval_fast &, tp); \
420 friend const sc_fxval_fast operator op (tp, const sc_fxval_fast &);
431 friend const sc_fxval_fast operator op (const sc_fxval_fast &, \
432 const sc_fxval_fast &); \
447 friend const sc_fxval_fast operator / (const sc_fxval_fast &,
448 const sc_fxval_fast &);
469 friend const sc_fxval_fast operator << (const sc_fxval_fast &, int);
470 friend const sc_fxval_fast operator >> (const sc_fxval_fast &, int);
474 friend void fnc (sc_fxval_fast &, const sc_fxval_fast &, tp); \
475 friend void fnc (sc_fxval_fast &, tp, const sc_fxval_fast &);
486 friend void fnc (sc_fxval_fast &, const sc_fxval_fast &, \
487 const sc_fxval_fast &); \
508 friend void lshift(sc_fxval_fast &, const sc_fxval_fast &, int);
509 friend void rshift(sc_fxval_fast &, const sc_fxval_fast &, int);
513 friend bool operator op (const sc_fxval_fast &, tp); \
514 friend bool operator op (tp, const sc_fxval_fast &);
525 friend bool operator op (const sc_fxval_fast &, const sc_fxval_fast &); \
547 #define DECL_ASN_OP_T(op, tp) sc_fxval_fast &operator op(tp);
566 DECL_ASN_OP_T(op, const sc_fxval_fast &) \
586 const sc_fxval_fast operator ++ (int);
587 const sc_fxval_fast operator -- (int);
589 sc_fxval_fast & operator ++ ();
590 sc_fxval_fast & operator -- ();
705 DEFN_CTOR_T_B(const sc_fxval_fast &)
810 DEFN_BIN_OP_T(op, fnc, const sc_fxval_fast &) \
833 DEFN_BIN_OP_T(/, div, const sc_fxval_fast &)
909 DEFN_BIN_FNC_T(fnc, const sc_fxval_fast &) \
984 DEFN_REL_OP_T(op, ret, const sc_fxval_fast &) \
1027 DEFN_ASN_OP_T(const sc_fxval_fast &)
1079 DEFN_ASN_OP_T(op, fnc, const sc_fxval_fast &) \
1302 // CLASS : sc_fxval_fast
1309 sc_fxval_fast::observer() const
1316 inline sc_fxval_fast::sc_fxval_fast(sc_fxval_fast_observer *observer_) :
1323 inline sc_fxval_fast::sc_fxval_fast(const sc_fxval_fast &a,
1334 inline sc_fxval_fast::sc_fxval_fast( \
1370 inline sc_fxval_fast::~sc_fxval_fast()
1377 sc_fxval_fast::get_val() const
1385 sc_fxval_fast::set_val(double val_)
1392 inline const sc_fxval_fast
1393 sc_fxval_fast::operator - () const
1396 return sc_fxval_fast(-m_val);
1399 inline const sc_fxval_fast &
1400 sc_fxval_fast::operator + () const
1408 neg(sc_fxval_fast &c, const sc_fxval_fast &a)
1417 inline const sc_fxval_fast \
1418 operator op (const sc_fxval_fast &a, tp b) \
1421 sc_fxval_fast tmp(b); \
1422 return sc_fxval_fast(a.m_val op tmp.m_val); \
1425 inline const sc_fxval_fast \
1426 operator op (tp a, const sc_fxval_fast &b) \
1429 sc_fxval_fast tmp(a); \
1430 return sc_fxval_fast(tmp.m_val op b.m_val); \
1442 inline const sc_fxval_fast \
1443 operator op (const sc_fxval_fast &a, const sc_fxval_fast &b) \
1447 return sc_fxval_fast(a.m_val op b.m_val); \
1463 inline const sc_fxval_fast
1464 operator / (const sc_fxval_fast &a, const sc_fxval_fast &b)
1468 return sc_fxval_fast(a.m_val / b.m_val);
1493 inline const sc_fxval_fast
1494 operator << (const sc_fxval_fast &a, int b)
1497 return sc_fxval_fast(a.m_val * scfx_pow2(b));
1500 inline const sc_fxval_fast
1501 operator >> (const sc_fxval_fast &a, int b)
1504 return sc_fxval_fast(a.m_val * scfx_pow2(-b));
1510 fnc (sc_fxval_fast &c, const sc_fxval_fast &a, tp b) \
1513 sc_fxval_fast tmp(b); \
1519 fnc (sc_fxval_fast &c, tp a, const sc_fxval_fast &b) \
1522 sc_fxval_fast tmp(a); \
1537 fnc (sc_fxval_fast &c, const sc_fxval_fast &a, const sc_fxval_fast &b) \
1564 lshift(sc_fxval_fast &c, const sc_fxval_fast &a, int b)
1572 rshift(sc_fxval_fast &c, const sc_fxval_fast &a, int b)
1582 operator op (const sc_fxval_fast &a, tp b) \
1585 sc_fxval_fast tmp(b); \
1590 operator op (tp a, const sc_fxval_fast &b) \
1593 sc_fxval_fast tmp(a); \
1607 operator op (const sc_fxval_fast &a, const sc_fxval_fast &b) \
1635 inline sc_fxval_fast &
1636 sc_fxval_fast::operator = (const sc_fxval_fast &a)
1647 inline sc_fxval_fast & \
1648 sc_fxval_fast::operator = (tp a) \
1650 sc_fxval_fast tmp(a); \
1675 inline sc_fxval_fast & \
1676 sc_fxval_fast::operator op (tp b) \
1679 sc_fxval_fast tmp(b); \
1694 inline sc_fxval_fast & \
1695 sc_fxval_fast::operator op (const sc_fxval_fast &b) \
1723 inline sc_fxval_fast &
1724 sc_fxval_fast::operator <<= (int b)
1732 inline sc_fxval_fast &
1733 sc_fxval_fast::operator >>= (int b)
1742 inline const sc_fxval_fast
1743 sc_fxval_fast::operator ++ (int)
1750 return sc_fxval_fast(c);
1753 inline const sc_fxval_fast
1754 sc_fxval_fast::operator -- (int)
1761 return sc_fxval_fast(c);
1764 inline sc_fxval_fast &
1765 sc_fxval_fast::operator ++ ()
1773 inline sc_fxval_fast &
1774 sc_fxval_fast::operator -- ()
1783 inline sc_fxval_fast::operator double() const
1791 sc_fxval_fast::to_short() const
1798 sc_fxval_fast::to_ushort() const
1805 sc_fxval_fast::to_int64() const
1812 sc_fxval_fast::to_int() const
1819 sc_fxval_fast::to_uint() const
1826 sc_fxval_fast::to_uint64() const
1849 sc_fxval_fast::to_long() const
1856 sc_fxval_fast::to_ulong() const
1863 sc_fxval_fast::to_float() const
1870 sc_fxval_fast::to_double() const
1878 sc_fxval_fast::is_neg() const
1886 sc_fxval_fast::is_zero() const
1894 sc_fxval_fast::is_nan() const
1902 sc_fxval_fast::is_inf() const
1910 sc_fxval_fast::is_normal() const
1918 sc_fxval_fast::rounding_flag() const
1920 // does not apply to sc_fxval_fast; included for API compatibility
1925 operator << (::std::ostream &os, const sc_fxval_fast &a)
1932 operator >> (::std::istream &is, sc_fxval_fast &a)