Lines Matching refs:tp

113 #define DECL_ASN_OP_T(op, tp) \
114 sc_fxnum_bitref &operator op (tp);
171 #define DECL_ASN_OP_T(op, tp) sc_fxnum_fast_bitref &operator op (tp);
232 #define DECL_ASN_OP_T(tp) \
233 sc_fxnum_subref &operator = (tp);
255 #define DECL_ASN_OP_T_A(op, tp) \
256 sc_fxnum_subref &operator op ## = (tp);
272 #define DECL_REL_OP_T(op, tp) \
273 friend bool operator op (const sc_fxnum_subref &, tp); \
274 friend bool operator op (tp, const sc_fxnum_subref &);
368 #define DECL_ASN_OP_T(tp) \
369 sc_fxnum_fast_subref &operator = (tp);
391 #define DECL_ASN_OP_T_A(op, tp) sc_fxnum_fast_subref &operator op ## = (tp);
407 #define DECL_REL_OP_T(op, tp) \
408 friend bool operator op (const sc_fxnum_fast_subref &, tp); \
409 friend bool operator op (tp, const sc_fxnum_fast_subref &);
504 #define DECL_CTOR_T(tp) \
505 sc_fxnum(tp, const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &, \
544 #define DECL_BIN_OP_T(op, tp) \
545 friend const sc_fxval operator op (const sc_fxnum &, tp); \
546 friend const sc_fxval operator op (tp, const sc_fxnum &);
603 #define DECL_BIN_FNC_T(fnc, tp) \
604 friend void fnc (sc_fxval &, const sc_fxnum &, tp); \
605 friend void fnc (sc_fxval &, tp, const sc_fxnum &); \
606 friend void fnc (sc_fxnum &, const sc_fxnum &, tp); \
607 friend void fnc (sc_fxnum &, tp, const sc_fxnum &);
647 #define DECL_REL_OP_T(op, tp) \
648 friend bool operator op (const sc_fxnum &, tp); \
649 friend bool operator op (tp, const sc_fxnum &);
685 #define DECL_ASN_OP_T(op, tp) \
686 sc_fxnum &operator op(tp);
865 #define DECL_CTOR_T(tp) \
866 sc_fxnum_fast(tp, const sc_fxtype_params &, sc_enc, \
905 #define DECL_BIN_OP_T(op, tp) \
906 friend const sc_fxval_fast operator op (const sc_fxnum_fast &, tp); \
907 friend const sc_fxval_fast operator op (tp, const sc_fxnum_fast &);
961 #define DECL_BIN_FNC_T(fnc, tp) \
962 friend void fnc (sc_fxval_fast &, const sc_fxnum_fast &, tp); \
963 friend void fnc (sc_fxval_fast &, tp, const sc_fxnum_fast &); \
964 friend void fnc (sc_fxnum_fast &, const sc_fxnum_fast &, tp); \
965 friend void fnc (sc_fxnum_fast &, tp, const sc_fxnum_fast &);
1007 #define DECL_REL_OP_T(op, tp) \
1008 friend bool operator op (const sc_fxnum_fast &, tp); \
1009 friend bool operator op (tp, const sc_fxnum_fast &);
1043 #define DECL_ASN_OP_T(op, tp) sc_fxnum_fast &operator op(tp);
1630 #define DEFN_ASN_OP_T(tp) \
1632 sc_fxnum_subref::operator = (tp a) \
1658 #define DEFN_ASN_OP_T(op, tp) \
1660 sc_fxnum_subref::operator op ## = (tp a) \
1704 #define DEFN_REL_OP_T(op, tp) \
1706 operator op (const sc_fxnum_subref &a, tp b) \
1712 operator op (tp a, const sc_fxnum_subref &b) \
1923 #define DEFN_ASN_OP_T(tp) \
1925 sc_fxnum_fast_subref::operator = (tp a) \
1952 #define DEFN_ASN_OP_T(op, tp) \
1954 sc_fxnum_fast_subref::operator op ## = (tp a) \
2000 #define DEFN_REL_OP_T(op, tp) \
2002 operator op (const sc_fxnum_fast_subref &a, tp b) \
2008 operator op (tp a, const sc_fxnum_fast_subref &b) \
2195 #define DEFN_CTOR_T(tp, arg) \
2196 inline sc_fxnum::sc_fxnum(tp a, const sc_fxtype_params &type_params_, \
2208 #define DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp, a)
2209 #define DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp, *a.m_rep)
2210 #define DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp, a.to_double())
2211 #define DEFN_CTOR_T_D(tp) DEFN_CTOR_T(tp, a.value())
2287 #define DEFN_BIN_OP_T(op, fnc, tp) \
2289 operator op (const sc_fxnum &a, tp b) \
2297 operator op (tp a, const sc_fxnum &b) \
2414 #define DEFN_BIN_FNC_T(fnc, tp) \
2416 fnc (sc_fxval &c, const sc_fxnum &a, tp b) \
2424 fnc (sc_fxval &c, tp a, const sc_fxnum &b) \
2432 fnc (sc_fxnum &c, const sc_fxnum &a, tp b) \
2443 fnc (sc_fxnum &c, tp a, const sc_fxnum &b) \
2570 #define DEFN_REL_OP_T(op, ret, tp) \
2572 operator op (const sc_fxnum &a, tp b) \
2581 operator op (tp a, const sc_fxnum &b) \
2667 #define DEFN_ASN_OP_T(tp) \
2669 sc_fxnum::operator = (tp a) \
2698 #define DEFN_ASN_OP_T(op, fnc, tp) \
2700 sc_fxnum::operator op (tp b) \
3169 #define DEFN_CTOR_T(tp, arg) \
3171 tp a, const sc_fxtype_params &type_params_, sc_enc enc_, \
3183 #define DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp, static_cast<double>(a))
3184 #define DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp, sc_fxval_fast::from_string(a))
3185 #define DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp, a.to_double())
3258 #define DEFN_BIN_OP_T(op, tp) \
3260 operator op (const sc_fxnum_fast &a, tp b) \
3268 operator op (tp a, const sc_fxnum_fast &b) \
3376 #define DEFN_BIN_FNC_T(fnc, op, tp) \
3378 fnc (sc_fxval_fast &c, const sc_fxnum_fast &a, tp b) \
3386 fnc (sc_fxval_fast &c, tp a, const sc_fxnum_fast &b) \
3394 fnc (sc_fxnum_fast &c, const sc_fxnum_fast &a, tp b) \
3404 fnc (sc_fxnum_fast &c, tp a, const sc_fxnum_fast &b) \
3525 #define DEFN_REL_OP_T(op, tp) \
3527 operator op (const sc_fxnum_fast &a, tp b) \
3535 operator op (tp a, const sc_fxnum_fast &b) \
3616 #define DEFN_ASN_OP_T(tp) \
3618 sc_fxnum_fast::operator = (tp a) \
3646 #define DEFN_ASN_OP_T(op, tp) \
3648 sc_fxnum_fast::operator op (tp b) \
4096 #define DEFN_BIN_OP_T(op, fnc, tp) \
4098 operator op (const sc_fxval &a, tp b) \
4106 operator op (tp a, const sc_fxval &b) \
4127 #define DEFN_BIN_FNC_T(fnc, tp) \
4129 fnc (sc_fxval &c, const sc_fxval &a, tp b) \
4139 fnc (sc_fxval &c, tp a, const sc_fxval &b) \
4161 #define DEFN_REL_OP_T(op, ret, tp) \
4163 operator op (const sc_fxval &a, tp b) \
4172 operator op (tp a, const sc_fxval &b) \
4202 #define DEFN_ASN_OP_T(tp) \
4204 sc_fxval::operator = (tp b) \
4216 #define DEFN_ASN_OP_T(op, fnc, tp) \
4218 sc_fxval::operator op (tp b) \
4281 #define DEFN_BIN_FNC_T(fnc, op, tp) \
4283 fnc (sc_fxval_fast &c, const sc_fxval_fast &a, tp b) \
4292 fnc (sc_fxval_fast &c, tp a, const sc_fxval_fast &b) \
4322 #define DEFN_ASN_OP_T(tp) \
4324 sc_fxval_fast::operator = (tp a) \
4336 #define DEFN_ASN_OP_T(op, tp) \
4338 sc_fxval_fast::operator op (tp b) \