#include <sysc/datatypes/int/sc_signed.h>
Public Member Functions | |
| sc_signed (int nb=sc_length_param().len()) | |
| sc_signed (const sc_signed &v) | |
| sc_signed (const sc_unsigned &v) | |
| template<class T > | |
| sc_signed (const sc_generic_base< T > &v) | |
| sc_signed (const sc_bv_base &v) | |
| sc_signed (const sc_lv_base &v) | |
| sc_signed (const sc_int_subref_r &v) | |
| sc_signed (const sc_uint_subref_r &v) | |
| sc_signed (const sc_signed_subref_r &v) | |
| sc_signed (const sc_unsigned_subref_r &v) | |
| const sc_signed & | operator= (const sc_signed &v) |
| const sc_signed & | operator= (const sc_signed_subref_r &a) |
| template<class T > | |
| const sc_signed & | operator= (const sc_generic_base< T > &a) |
| const sc_signed & | operator= (const sc_unsigned &v) |
| const sc_signed & | operator= (const sc_unsigned_subref_r &a) |
| const sc_signed & | operator= (const char *v) |
| const sc_signed & | operator= (int64 v) |
| const sc_signed & | operator= (uint64 v) |
| const sc_signed & | operator= (long v) |
| const sc_signed & | operator= (unsigned long v) |
| const sc_signed & | operator= (int v) |
| const sc_signed & | operator= (unsigned int v) |
| const sc_signed & | operator= (double v) |
| const sc_signed & | operator= (const sc_int_base &v) |
| const sc_signed & | operator= (const sc_uint_base &v) |
| const sc_signed & | operator= (const sc_bv_base &) |
| const sc_signed & | operator= (const sc_lv_base &) |
| virtual | ~sc_signed () |
| sc_digit * | get_raw () const |
| virtual int | concat_length (bool *xz_present_p) const |
| virtual bool | concat_get_ctrl (sc_digit *dst_p, int low_i) const |
| virtual bool | concat_get_data (sc_digit *dst_p, int low_i) const |
| virtual uint64 | concat_get_uint64 () const |
| virtual void | concat_set (int64 src, int low_i) |
| virtual void | concat_set (const sc_signed &src, int low_i) |
| virtual void | concat_set (const sc_unsigned &src, int low_i) |
| virtual void | concat_set (uint64 src, int low_i) |
| sc_signed & | operator++ () |
| const sc_signed | operator++ (int) |
| sc_signed & | operator-- () |
| const sc_signed | operator-- (int) |
| void | check_index (int i) const |
| void | invalid_index (int i) const |
| sc_signed_bitref & | operator[] (int i) |
| const sc_signed_bitref_r & | operator[] (int i) const |
| sc_signed_bitref & | bit (int i) |
| const sc_signed_bitref_r & | bit (int i) const |
| void | check_range (int l, int r) const |
| void | invalid_range (int l, int r) const |
| sc_signed_subref & | range (int i, int j) |
| const sc_signed_subref_r & | range (int i, int j) const |
| sc_signed_subref & | operator() (int i, int j) |
| const sc_signed_subref_r & | operator() (int i, int j) const |
| int | to_int () const |
| unsigned int | to_uint () const |
| long | to_long () const |
| unsigned long | to_ulong () const |
| int64 | to_int64 () const |
| uint64 | to_uint64 () const |
| double | to_double () const |
| const std::string | to_string (sc_numrep numrep=SC_DEC) const |
| const std::string | to_string (sc_numrep numrep, bool w_prefix) const |
| void | print (::std::ostream &os=::std::cout) const |
| void | scan (::std::istream &is=::std::cin) |
| void | dump (::std::ostream &os=::std::cout) const |
| int | length () const |
| bool | iszero () const |
| bool | sign () const |
| bool | and_reduce () const |
| bool | nand_reduce () const |
| bool | or_reduce () const |
| bool | nor_reduce () const |
| bool | xor_reduce () const |
| bool | xnor_reduce () const |
| bool | test (int i) const |
| void | set (int i) |
| void | clear (int i) |
| void | set (int i, bool v) |
| void | invert (int i) |
| void | reverse () |
| void | get_packed_rep (sc_digit *buf) const |
| void | set_packed_rep (sc_digit *buf) |
| const sc_signed & | operator+= (const sc_signed &v) |
| const sc_signed & | operator+= (const sc_unsigned &v) |
| const sc_signed & | operator+= (int64 v) |
| const sc_signed & | operator+= (uint64 v) |
| const sc_signed & | operator+= (long v) |
| const sc_signed & | operator+= (unsigned long v) |
| const sc_signed & | operator+= (int v) |
| const sc_signed & | operator+= (unsigned int v) |
| const sc_signed & | operator+= (const sc_int_base &v) |
| const sc_signed & | operator+= (const sc_uint_base &v) |
| const sc_signed & | operator-= (const sc_signed &v) |
| const sc_signed & | operator-= (const sc_unsigned &v) |
| const sc_signed & | operator-= (int64 v) |
| const sc_signed & | operator-= (uint64 v) |
| const sc_signed & | operator-= (long v) |
| const sc_signed & | operator-= (unsigned long v) |
| const sc_signed & | operator-= (int v) |
| const sc_signed & | operator-= (unsigned int v) |
| const sc_signed & | operator-= (const sc_int_base &v) |
| const sc_signed & | operator-= (const sc_uint_base &v) |
| const sc_signed & | operator*= (const sc_signed &v) |
| const sc_signed & | operator*= (const sc_unsigned &v) |
| const sc_signed & | operator*= (int64 v) |
| const sc_signed & | operator*= (uint64 v) |
| const sc_signed & | operator*= (long v) |
| const sc_signed & | operator*= (unsigned long v) |
| const sc_signed & | operator*= (int v) |
| const sc_signed & | operator*= (unsigned int v) |
| const sc_signed & | operator*= (const sc_int_base &v) |
| const sc_signed & | operator*= (const sc_uint_base &v) |
| const sc_signed & | operator/= (const sc_signed &v) |
| const sc_signed & | operator/= (const sc_unsigned &v) |
| const sc_signed & | operator/= (int64 v) |
| const sc_signed & | operator/= (uint64 v) |
| const sc_signed & | operator/= (long v) |
| const sc_signed & | operator/= (unsigned long v) |
| const sc_signed & | operator/= (int v) |
| const sc_signed & | operator/= (unsigned int v) |
| const sc_signed & | operator/= (const sc_int_base &v) |
| const sc_signed & | operator/= (const sc_uint_base &v) |
| const sc_signed & | operator%= (const sc_signed &v) |
| const sc_signed & | operator%= (const sc_unsigned &v) |
| const sc_signed & | operator%= (int64 v) |
| const sc_signed & | operator%= (uint64 v) |
| const sc_signed & | operator%= (long v) |
| const sc_signed & | operator%= (unsigned long v) |
| const sc_signed & | operator%= (int v) |
| const sc_signed & | operator%= (unsigned int v) |
| const sc_signed & | operator%= (const sc_int_base &v) |
| const sc_signed & | operator%= (const sc_uint_base &v) |
| const sc_signed & | operator&= (const sc_signed &v) |
| const sc_signed & | operator&= (const sc_unsigned &v) |
| const sc_signed & | operator&= (int64 v) |
| const sc_signed & | operator&= (uint64 v) |
| const sc_signed & | operator&= (long v) |
| const sc_signed & | operator&= (unsigned long v) |
| const sc_signed & | operator&= (int v) |
| const sc_signed & | operator&= (unsigned int v) |
| const sc_signed & | operator&= (const sc_int_base &v) |
| const sc_signed & | operator&= (const sc_uint_base &v) |
| const sc_signed & | operator|= (const sc_signed &v) |
| const sc_signed & | operator|= (const sc_unsigned &v) |
| const sc_signed & | operator|= (int64 v) |
| const sc_signed & | operator|= (uint64 v) |
| const sc_signed & | operator|= (long v) |
| const sc_signed & | operator|= (unsigned long v) |
| const sc_signed & | operator|= (int v) |
| const sc_signed & | operator|= (unsigned int v) |
| const sc_signed & | operator|= (const sc_int_base &v) |
| const sc_signed & | operator|= (const sc_uint_base &v) |
| const sc_signed & | operator^= (const sc_signed &v) |
| const sc_signed & | operator^= (const sc_unsigned &v) |
| const sc_signed & | operator^= (int64 v) |
| const sc_signed & | operator^= (uint64 v) |
| const sc_signed & | operator^= (long v) |
| const sc_signed & | operator^= (unsigned long v) |
| const sc_signed & | operator^= (int v) |
| const sc_signed & | operator^= (unsigned int v) |
| const sc_signed & | operator^= (const sc_int_base &v) |
| const sc_signed & | operator^= (const sc_uint_base &v) |
| const sc_signed & | operator<<= (const sc_signed &v) |
| const sc_signed & | operator<<= (const sc_unsigned &v) |
| const sc_signed & | operator<<= (int64 v) |
| const sc_signed & | operator<<= (uint64 v) |
| const sc_signed & | operator<<= (long v) |
| const sc_signed & | operator<<= (unsigned long v) |
| const sc_signed & | operator<<= (int v) |
| const sc_signed & | operator<<= (unsigned int v) |
| const sc_signed & | operator<<= (const sc_int_base &v) |
| const sc_signed & | operator<<= (const sc_uint_base &v) |
| const sc_signed & | operator>>= (const sc_signed &v) |
| const sc_signed & | operator>>= (const sc_unsigned &v) |
| const sc_signed & | operator>>= (int64 v) |
| const sc_signed & | operator>>= (uint64 v) |
| const sc_signed & | operator>>= (long v) |
| const sc_signed & | operator>>= (unsigned long v) |
| const sc_signed & | operator>>= (int v) |
| const sc_signed & | operator>>= (unsigned int v) |
| const sc_signed & | operator>>= (const sc_int_base &v) |
| const sc_signed & | operator>>= (const sc_uint_base &v) |
Friends | |
| class | sc_concatref |
| class | sc_signed_bitref_r |
| class | sc_signed_bitref |
| class | sc_signed_subref_r |
| class | sc_signed_subref |
| class | sc_unsigned |
| class | sc_unsigned_subref |
| SC_API sc_signed | operator+ (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator+ (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator+ (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator+ (const sc_unsigned &u, long v) |
| sc_signed | operator+ (const sc_unsigned &u, int v) |
| SC_API sc_signed | operator+ (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator+ (long u, const sc_unsigned &v) |
| sc_signed | operator+ (int u, const sc_unsigned &v) |
| SC_API sc_signed | operator+ (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator+ (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator+ (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator+ (const sc_signed &u, long v) |
| SC_API sc_signed | operator+ (const sc_signed &u, unsigned long v) |
| sc_signed | operator+ (const sc_signed &u, int v) |
| sc_signed | operator+ (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator+ (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator+ (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator+ (long u, const sc_signed &v) |
| SC_API sc_signed | operator+ (unsigned long u, const sc_signed &v) |
| sc_signed | operator+ (int u, const sc_signed &v) |
| sc_signed | operator+ (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator+ (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator+ (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator+ (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator+ (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator+ (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator+ (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator- (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, uint64 v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, long v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, unsigned long v) |
| sc_signed | operator- (const sc_unsigned &u, int v) |
| sc_signed | operator- (const sc_unsigned &u, unsigned int v) |
| SC_API sc_signed | operator- (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (uint64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (long u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (unsigned long u, const sc_unsigned &v) |
| sc_signed | operator- (int u, const sc_unsigned &v) |
| sc_signed | operator- (unsigned int u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator- (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator- (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator- (const sc_signed &u, long v) |
| SC_API sc_signed | operator- (const sc_signed &u, unsigned long v) |
| sc_signed | operator- (const sc_signed &u, int v) |
| sc_signed | operator- (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator- (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator- (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator- (long u, const sc_signed &v) |
| SC_API sc_signed | operator- (unsigned long u, const sc_signed &v) |
| sc_signed | operator- (int u, const sc_signed &v) |
| sc_signed | operator- (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator- (const sc_unsigned &u, const sc_uint_base &v) |
| SC_API sc_signed | operator- (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (const sc_uint_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator- (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator- (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator- (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator- (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator* (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator* (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator* (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator* (const sc_unsigned &u, long v) |
| sc_signed | operator* (const sc_unsigned &u, int v) |
| SC_API sc_signed | operator* (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator* (long u, const sc_unsigned &v) |
| sc_signed | operator* (int u, const sc_unsigned &v) |
| SC_API sc_signed | operator* (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator* (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator* (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator* (const sc_signed &u, long v) |
| SC_API sc_signed | operator* (const sc_signed &u, unsigned long v) |
| sc_signed | operator* (const sc_signed &u, int v) |
| sc_signed | operator* (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator* (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator* (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator* (long u, const sc_signed &v) |
| SC_API sc_signed | operator* (unsigned long u, const sc_signed &v) |
| sc_signed | operator* (int u, const sc_signed &v) |
| sc_signed | operator* (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator* (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator* (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator* (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator* (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator* (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator* (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator/ (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator/ (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator/ (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator/ (const sc_unsigned &u, long v) |
| sc_signed | operator/ (const sc_unsigned &u, int v) |
| SC_API sc_signed | operator/ (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator/ (long u, const sc_unsigned &v) |
| sc_signed | operator/ (int u, const sc_unsigned &v) |
| SC_API sc_signed | operator/ (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator/ (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator/ (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator/ (const sc_signed &u, long v) |
| SC_API sc_signed | operator/ (const sc_signed &u, unsigned long v) |
| sc_signed | operator/ (const sc_signed &u, int v) |
| sc_signed | operator/ (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator/ (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator/ (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator/ (long u, const sc_signed &v) |
| SC_API sc_signed | operator/ (unsigned long u, const sc_signed &v) |
| sc_signed | operator/ (int u, const sc_signed &v) |
| sc_signed | operator/ (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator/ (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator/ (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator/ (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator/ (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator/ (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator/ (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator% (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator% (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator% (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator% (const sc_unsigned &u, long v) |
| sc_signed | operator% (const sc_unsigned &u, int v) |
| SC_API sc_signed | operator% (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator% (long u, const sc_unsigned &v) |
| sc_signed | operator% (int u, const sc_unsigned &v) |
| SC_API sc_signed | operator% (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator% (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator% (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator% (const sc_signed &u, long v) |
| SC_API sc_signed | operator% (const sc_signed &u, unsigned long v) |
| sc_signed | operator% (const sc_signed &u, int v) |
| sc_signed | operator% (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator% (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator% (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator% (long u, const sc_signed &v) |
| SC_API sc_signed | operator% (unsigned long u, const sc_signed &v) |
| sc_signed | operator% (int u, const sc_signed &v) |
| sc_signed | operator% (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator% (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator% (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator% (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator% (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator% (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator% (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator& (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator& (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator& (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator& (const sc_unsigned &u, long v) |
| sc_signed | operator& (const sc_unsigned &u, int v) |
| SC_API sc_signed | operator& (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator& (long u, const sc_unsigned &v) |
| sc_signed | operator& (int u, const sc_unsigned &v) |
| SC_API sc_signed | operator& (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator& (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator& (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator& (const sc_signed &u, long v) |
| SC_API sc_signed | operator& (const sc_signed &u, unsigned long v) |
| sc_signed | operator& (const sc_signed &u, int v) |
| sc_signed | operator& (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator& (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator& (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator& (long u, const sc_signed &v) |
| SC_API sc_signed | operator& (unsigned long u, const sc_signed &v) |
| sc_signed | operator& (int u, const sc_signed &v) |
| sc_signed | operator& (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator& (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator& (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator& (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator& (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator& (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator& (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator| (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator| (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator| (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator| (const sc_unsigned &u, long v) |
| sc_signed | operator| (const sc_unsigned &u, int v) |
| SC_API sc_signed | operator| (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator| (long u, const sc_unsigned &v) |
| sc_signed | operator| (int u, const sc_unsigned &v) |
| SC_API sc_signed | operator| (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator| (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator| (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator| (const sc_signed &u, long v) |
| SC_API sc_signed | operator| (const sc_signed &u, unsigned long v) |
| sc_signed | operator| (const sc_signed &u, int v) |
| sc_signed | operator| (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator| (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator| (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator| (long u, const sc_signed &v) |
| SC_API sc_signed | operator| (unsigned long u, const sc_signed &v) |
| sc_signed | operator| (int u, const sc_signed &v) |
| sc_signed | operator| (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator| (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator| (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator| (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator| (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator| (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator| (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator^ (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator^ (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator^ (const sc_unsigned &u, int64 v) |
| SC_API sc_signed | operator^ (const sc_unsigned &u, long v) |
| sc_signed | operator^ (const sc_unsigned &u, int v) |
| SC_API sc_signed | operator^ (int64 u, const sc_unsigned &v) |
| SC_API sc_signed | operator^ (long u, const sc_unsigned &v) |
| sc_signed | operator^ (int u, const sc_unsigned &v) |
| SC_API sc_signed | operator^ (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator^ (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator^ (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator^ (const sc_signed &u, long v) |
| SC_API sc_signed | operator^ (const sc_signed &u, unsigned long v) |
| sc_signed | operator^ (const sc_signed &u, int v) |
| sc_signed | operator^ (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator^ (int64 u, const sc_signed &v) |
| SC_API sc_signed | operator^ (uint64 u, const sc_signed &v) |
| SC_API sc_signed | operator^ (long u, const sc_signed &v) |
| SC_API sc_signed | operator^ (unsigned long u, const sc_signed &v) |
| sc_signed | operator^ (int u, const sc_signed &v) |
| sc_signed | operator^ (unsigned int u, const sc_signed &v) |
| SC_API sc_signed | operator^ (const sc_unsigned &u, const sc_int_base &v) |
| SC_API sc_signed | operator^ (const sc_int_base &u, const sc_unsigned &v) |
| SC_API sc_signed | operator^ (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator^ (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator^ (const sc_int_base &u, const sc_signed &v) |
| SC_API sc_signed | operator^ (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_unsigned | operator<< (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator<< (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator<< (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator<< (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator<< (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator<< (const sc_signed &u, long v) |
| SC_API sc_signed | operator<< (const sc_signed &u, unsigned long v) |
| sc_signed | operator<< (const sc_signed &u, int v) |
| sc_signed | operator<< (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator<< (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator<< (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_unsigned | operator>> (const sc_unsigned &u, const sc_signed &v) |
| SC_API sc_signed | operator>> (const sc_signed &u, const sc_unsigned &v) |
| SC_API sc_signed | operator>> (const sc_signed &u, const sc_signed &v) |
| SC_API sc_signed | operator>> (const sc_signed &u, int64 v) |
| SC_API sc_signed | operator>> (const sc_signed &u, uint64 v) |
| SC_API sc_signed | operator>> (const sc_signed &u, long v) |
| SC_API sc_signed | operator>> (const sc_signed &u, unsigned long v) |
| sc_signed | operator>> (const sc_signed &u, int v) |
| sc_signed | operator>> (const sc_signed &u, unsigned int v) |
| SC_API sc_signed | operator>> (const sc_signed &u, const sc_int_base &v) |
| SC_API sc_signed | operator>> (const sc_signed &u, const sc_uint_base &v) |
| SC_API sc_signed | operator+ (const sc_signed &u) |
| SC_API sc_signed | operator- (const sc_signed &u) |
| SC_API sc_signed | operator- (const sc_unsigned &u) |
| SC_API bool | operator== (const sc_unsigned &u, const sc_signed &v) |
| SC_API bool | operator== (const sc_signed &u, const sc_unsigned &v) |
| SC_API bool | operator== (const sc_signed &u, const sc_signed &v) |
| SC_API bool | operator== (const sc_signed &u, int64 v) |
| SC_API bool | operator== (const sc_signed &u, uint64 v) |
| SC_API bool | operator== (const sc_signed &u, long v) |
| SC_API bool | operator== (const sc_signed &u, unsigned long v) |
| bool | operator== (const sc_signed &u, int v) |
| bool | operator== (const sc_signed &u, unsigned int v) |
| SC_API bool | operator== (int64 u, const sc_signed &v) |
| SC_API bool | operator== (uint64 u, const sc_signed &v) |
| SC_API bool | operator== (long u, const sc_signed &v) |
| SC_API bool | operator== (unsigned long u, const sc_signed &v) |
| bool | operator== (int u, const sc_signed &v) |
| bool | operator== (unsigned int u, const sc_signed &v) |
| SC_API bool | operator== (const sc_signed &u, const sc_int_base &v) |
| SC_API bool | operator== (const sc_signed &u, const sc_uint_base &v) |
| SC_API bool | operator== (const sc_int_base &u, const sc_signed &v) |
| SC_API bool | operator== (const sc_uint_base &u, const sc_signed &v) |
| SC_API bool | operator!= (const sc_unsigned &u, const sc_signed &v) |
| SC_API bool | operator!= (const sc_signed &u, const sc_unsigned &v) |
| SC_API bool | operator!= (const sc_signed &u, const sc_signed &v) |
| SC_API bool | operator!= (const sc_signed &u, int64 v) |
| SC_API bool | operator!= (const sc_signed &u, uint64 v) |
| SC_API bool | operator!= (const sc_signed &u, long v) |
| SC_API bool | operator!= (const sc_signed &u, unsigned long v) |
| bool | operator!= (const sc_signed &u, int v) |
| bool | operator!= (const sc_signed &u, unsigned int v) |
| SC_API bool | operator!= (int64 u, const sc_signed &v) |
| SC_API bool | operator!= (uint64 u, const sc_signed &v) |
| SC_API bool | operator!= (long u, const sc_signed &v) |
| SC_API bool | operator!= (unsigned long u, const sc_signed &v) |
| bool | operator!= (int u, const sc_signed &v) |
| bool | operator!= (unsigned int u, const sc_signed &v) |
| SC_API bool | operator!= (const sc_signed &u, const sc_int_base &v) |
| SC_API bool | operator!= (const sc_signed &u, const sc_uint_base &v) |
| SC_API bool | operator!= (const sc_int_base &u, const sc_signed &v) |
| SC_API bool | operator!= (const sc_uint_base &u, const sc_signed &v) |
| SC_API bool | operator< (const sc_unsigned &u, const sc_signed &v) |
| SC_API bool | operator< (const sc_signed &u, const sc_unsigned &v) |
| SC_API bool | operator< (const sc_signed &u, const sc_signed &v) |
| SC_API bool | operator< (const sc_signed &u, int64 v) |
| SC_API bool | operator< (const sc_signed &u, uint64 v) |
| SC_API bool | operator< (const sc_signed &u, long v) |
| SC_API bool | operator< (const sc_signed &u, unsigned long v) |
| bool | operator< (const sc_signed &u, int v) |
| bool | operator< (const sc_signed &u, unsigned int v) |
| SC_API bool | operator< (int64 u, const sc_signed &v) |
| SC_API bool | operator< (uint64 u, const sc_signed &v) |
| SC_API bool | operator< (long u, const sc_signed &v) |
| SC_API bool | operator< (unsigned long u, const sc_signed &v) |
| bool | operator< (int u, const sc_signed &v) |
| bool | operator< (unsigned int u, const sc_signed &v) |
| SC_API bool | operator< (const sc_signed &u, const sc_int_base &v) |
| SC_API bool | operator< (const sc_signed &u, const sc_uint_base &v) |
| SC_API bool | operator< (const sc_int_base &u, const sc_signed &v) |
| SC_API bool | operator< (const sc_uint_base &u, const sc_signed &v) |
| SC_API bool | operator<= (const sc_unsigned &u, const sc_signed &v) |
| SC_API bool | operator<= (const sc_signed &u, const sc_unsigned &v) |
| SC_API bool | operator<= (const sc_signed &u, const sc_signed &v) |
| SC_API bool | operator<= (const sc_signed &u, int64 v) |
| SC_API bool | operator<= (const sc_signed &u, uint64 v) |
| SC_API bool | operator<= (const sc_signed &u, long v) |
| SC_API bool | operator<= (const sc_signed &u, unsigned long v) |
| bool | operator<= (const sc_signed &u, int v) |
| bool | operator<= (const sc_signed &u, unsigned int v) |
| SC_API bool | operator<= (int64 u, const sc_signed &v) |
| SC_API bool | operator<= (uint64 u, const sc_signed &v) |
| SC_API bool | operator<= (long u, const sc_signed &v) |
| SC_API bool | operator<= (unsigned long u, const sc_signed &v) |
| bool | operator<= (int u, const sc_signed &v) |
| bool | operator<= (unsigned int u, const sc_signed &v) |
| SC_API bool | operator<= (const sc_signed &u, const sc_int_base &v) |
| SC_API bool | operator<= (const sc_signed &u, const sc_uint_base &v) |
| SC_API bool | operator<= (const sc_int_base &u, const sc_signed &v) |
| SC_API bool | operator<= (const sc_uint_base &u, const sc_signed &v) |
| SC_API bool | operator> (const sc_unsigned &u, const sc_signed &v) |
| SC_API bool | operator> (const sc_signed &u, const sc_unsigned &v) |
| SC_API bool | operator> (const sc_signed &u, const sc_signed &v) |
| SC_API bool | operator> (const sc_signed &u, int64 v) |
| SC_API bool | operator> (const sc_signed &u, uint64 v) |
| SC_API bool | operator> (const sc_signed &u, long v) |
| SC_API bool | operator> (const sc_signed &u, unsigned long v) |
| bool | operator> (const sc_signed &u, int v) |
| bool | operator> (const sc_signed &u, unsigned int v) |
| SC_API bool | operator> (int64 u, const sc_signed &v) |
| SC_API bool | operator> (uint64 u, const sc_signed &v) |
| SC_API bool | operator> (long u, const sc_signed &v) |
| SC_API bool | operator> (unsigned long u, const sc_signed &v) |
| bool | operator> (int u, const sc_signed &v) |
| bool | operator> (unsigned int u, const sc_signed &v) |
| SC_API bool | operator> (const sc_signed &u, const sc_int_base &v) |
| SC_API bool | operator> (const sc_signed &u, const sc_uint_base &v) |
| SC_API bool | operator> (const sc_int_base &u, const sc_signed &v) |
| SC_API bool | operator> (const sc_uint_base &u, const sc_signed &v) |
| SC_API bool | operator>= (const sc_unsigned &u, const sc_signed &v) |
| SC_API bool | operator>= (const sc_signed &u, const sc_unsigned &v) |
| SC_API bool | operator>= (const sc_signed &u, const sc_signed &v) |
| SC_API bool | operator>= (const sc_signed &u, int64 v) |
| SC_API bool | operator>= (const sc_signed &u, uint64 v) |
| SC_API bool | operator>= (const sc_signed &u, long v) |
| SC_API bool | operator>= (const sc_signed &u, unsigned long v) |
| bool | operator>= (const sc_signed &u, int v) |
| bool | operator>= (const sc_signed &u, unsigned int v) |
| SC_API bool | operator>= (int64 u, const sc_signed &v) |
| SC_API bool | operator>= (uint64 u, const sc_signed &v) |
| SC_API bool | operator>= (long u, const sc_signed &v) |
| SC_API bool | operator>= (unsigned long u, const sc_signed &v) |
| bool | operator>= (int u, const sc_signed &v) |
| bool | operator>= (unsigned int u, const sc_signed &v) |
| SC_API bool | operator>= (const sc_signed &u, const sc_int_base &v) |
| SC_API bool | operator>= (const sc_signed &u, const sc_uint_base &v) |
| SC_API bool | operator>= (const sc_int_base &u, const sc_signed &v) |
| SC_API bool | operator>= (const sc_uint_base &u, const sc_signed &v) |
| SC_API sc_signed | operator~ (const sc_signed &u) |
| sc_signed | add_signed_friend (small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd) |
| sc_signed | sub_signed_friend (small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd) |
| sc_signed | mul_signed_friend (small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
| sc_signed | div_signed_friend (small_type s, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
| sc_signed | mod_signed_friend (small_type us, int unb, int und, const sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
| sc_signed | and_signed_friend (small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd) |
| sc_signed | or_signed_friend (small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd) |
| sc_signed | xor_signed_friend (small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd) |
Definition at line 1095 of file sc_signed.h.
| sc_dt::sc_signed::sc_signed | ( | int | nb = sc_length_param().len() |
) | [explicit] |
| sc_dt::sc_signed::sc_signed | ( | const sc_signed & | v | ) |
| sc_dt::sc_signed::sc_signed | ( | const sc_unsigned & | v | ) |
| sc_dt::sc_signed::sc_signed | ( | const sc_generic_base< T > & | v | ) | [inline, explicit] |
Definition at line 2348 of file sc_signed.h.
| sc_dt::sc_signed::sc_signed | ( | const sc_bv_base & | v | ) | [explicit] |
| sc_dt::sc_signed::sc_signed | ( | const sc_lv_base & | v | ) | [explicit] |
| sc_dt::sc_signed::sc_signed | ( | const sc_int_subref_r & | v | ) | [explicit] |
| sc_dt::sc_signed::sc_signed | ( | const sc_uint_subref_r & | v | ) | [explicit] |
| sc_dt::sc_signed::sc_signed | ( | const sc_signed_subref_r & | v | ) | [explicit] |
| sc_dt::sc_signed::sc_signed | ( | const sc_unsigned_subref_r & | v | ) | [explicit] |
| virtual sc_dt::sc_signed::~sc_signed | ( | ) | [inline, virtual] |
Definition at line 1167 of file sc_signed.h.
| bool sc_dt::sc_signed::and_reduce | ( | ) | const |
| const sc_signed_bitref_r& sc_dt::sc_signed::bit | ( | int | i | ) | const [inline] |
Definition at line 1233 of file sc_signed.h.
| sc_signed_bitref& sc_dt::sc_signed::bit | ( | int | i | ) | [inline] |
Definition at line 1224 of file sc_signed.h.
| void sc_dt::sc_signed::check_index | ( | int | i | ) | const [inline] |
Definition at line 1201 of file sc_signed.h.
| void sc_dt::sc_signed::check_range | ( | int | l, | |
| int | r | |||
| ) | const [inline] |
Definition at line 1252 of file sc_signed.h.
| void sc_dt::sc_signed::clear | ( | int | i | ) |
| virtual bool sc_dt::sc_signed::concat_get_ctrl | ( | sc_digit * | dst_p, | |
| int | low_i | |||
| ) | const [virtual] |
Reimplemented from sc_dt::sc_value_base.
| virtual bool sc_dt::sc_signed::concat_get_data | ( | sc_digit * | dst_p, | |
| int | low_i | |||
| ) | const [virtual] |
Reimplemented from sc_dt::sc_value_base.
| virtual uint64 sc_dt::sc_signed::concat_get_uint64 | ( | ) | const [virtual] |
Reimplemented from sc_dt::sc_value_base.
| virtual int sc_dt::sc_signed::concat_length | ( | bool * | xz_present_p | ) | const [inline, virtual] |
Reimplemented from sc_dt::sc_value_base.
Definition at line 1178 of file sc_signed.h.
| virtual void sc_dt::sc_signed::concat_set | ( | uint64 | src, | |
| int | low_i | |||
| ) | [virtual] |
Reimplemented from sc_dt::sc_value_base.
| virtual void sc_dt::sc_signed::concat_set | ( | const sc_unsigned & | src, | |
| int | low_i | |||
| ) | [virtual] |
Reimplemented from sc_dt::sc_value_base.
| virtual void sc_dt::sc_signed::concat_set | ( | const sc_signed & | src, | |
| int | low_i | |||
| ) | [virtual] |
| virtual void sc_dt::sc_signed::concat_set | ( | int64 | src, | |
| int | low_i | |||
| ) | [virtual] |
Reimplemented from sc_dt::sc_value_base.
| void sc_dt::sc_signed::dump | ( | ::std::ostream & | os = ::std::cout |
) | const |
| void sc_dt::sc_signed::get_packed_rep | ( | sc_digit * | buf | ) | const |
| sc_digit* sc_dt::sc_signed::get_raw | ( | ) | const [inline] |
Definition at line 1176 of file sc_signed.h.
| void sc_dt::sc_signed::invalid_index | ( | int | i | ) | const |
| void sc_dt::sc_signed::invalid_range | ( | int | l, | |
| int | r | |||
| ) | const |
| void sc_dt::sc_signed::invert | ( | int | i | ) | [inline] |
Definition at line 1365 of file sc_signed.h.
| bool sc_dt::sc_signed::iszero | ( | ) | const |
| int sc_dt::sc_signed::length | ( | ) | const [inline] |
Definition at line 1338 of file sc_signed.h.
| bool sc_dt::sc_signed::nand_reduce | ( | ) | const [inline] |
Definition at line 1346 of file sc_signed.h.
| bool sc_dt::sc_signed::nor_reduce | ( | ) | const [inline] |
Definition at line 1351 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator%= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator%= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator%= | ( | unsigned int | v | ) | [inline] |
Definition at line 1675 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator%= | ( | int | v | ) | [inline] |
Definition at line 1673 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator%= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator%= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator%= | ( | const sc_unsigned & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator&= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator&= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator&= | ( | unsigned int | v | ) | [inline] |
Definition at line 1731 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator&= | ( | int | v | ) | [inline] |
Definition at line 1729 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator&= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator&= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator&= | ( | const sc_unsigned & | v | ) |
| const sc_signed_subref_r& sc_dt::sc_signed::operator() | ( | int | i, | |
| int | j | |||
| ) | const [inline] |
Definition at line 1293 of file sc_signed.h.
| sc_signed_subref& sc_dt::sc_signed::operator() | ( | int | i, | |
| int | j | |||
| ) | [inline] |
Definition at line 1284 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator*= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator*= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator*= | ( | unsigned int | v | ) | [inline] |
Definition at line 1567 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator*= | ( | int | v | ) | [inline] |
Definition at line 1565 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator*= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator*= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator*= | ( | const sc_unsigned & | v | ) |
| const sc_signed sc_dt::sc_signed::operator++ | ( | int | ) |
| sc_signed& sc_dt::sc_signed::operator++ | ( | ) |
| const sc_signed& sc_dt::sc_signed::operator+= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator+= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator+= | ( | unsigned int | v | ) | [inline] |
Definition at line 1448 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator+= | ( | int | v | ) | [inline] |
Definition at line 1446 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator+= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator+= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator+= | ( | const sc_unsigned & | v | ) |
| const sc_signed sc_dt::sc_signed::operator-- | ( | int | ) |
| sc_signed& sc_dt::sc_signed::operator-- | ( | ) |
| const sc_signed& sc_dt::sc_signed::operator-= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator-= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator-= | ( | unsigned int | v | ) | [inline] |
Definition at line 1511 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator-= | ( | int | v | ) | [inline] |
Definition at line 1509 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator-= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator-= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator-= | ( | const sc_unsigned & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator/= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator/= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator/= | ( | unsigned int | v | ) | [inline] |
Definition at line 1621 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator/= | ( | int | v | ) | [inline] |
Definition at line 1619 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator/= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator/= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator/= | ( | const sc_unsigned & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator<<= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator<<= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator<<= | ( | unsigned int | v | ) | [inline] |
Definition at line 1876 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator<<= | ( | int | v | ) | [inline] |
Definition at line 1874 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator<<= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator<<= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator<<= | ( | const sc_unsigned & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_lv_base & | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_bv_base & | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_uint_base & | v | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_int_base & | v | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | double | v | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | unsigned int | v | ) | [inline] |
Reimplemented in sc_dt::sc_bigint< W >.
Definition at line 1147 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator= | ( | int | v | ) | [inline] |
Reimplemented in sc_dt::sc_bigint< W >.
Definition at line 1144 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator= | ( | unsigned long | v | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | long | v | ) |
Reimplemented in sc_dt::sc_bigint< W >.
Reimplemented in sc_dt::sc_bigint< W >.
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | const char * | v | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_unsigned_subref_r & | a | ) |
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_unsigned & | v | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_generic_base< T > & | a | ) | [inline] |
Reimplemented in sc_dt::sc_bigint< W >.
Definition at line 1132 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator= | ( | const sc_signed_subref_r & | a | ) |
Reimplemented in sc_dt::sc_bigint< W >.
| const sc_signed& sc_dt::sc_signed::operator>>= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator>>= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator>>= | ( | unsigned int | v | ) | [inline] |
Definition at line 1907 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator>>= | ( | int | v | ) | [inline] |
Definition at line 1905 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator>>= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator>>= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator>>= | ( | const sc_unsigned & | v | ) |
| const sc_signed_bitref_r& sc_dt::sc_signed::operator[] | ( | int | i | ) | const [inline] |
Definition at line 1215 of file sc_signed.h.
| sc_signed_bitref& sc_dt::sc_signed::operator[] | ( | int | i | ) | [inline] |
Definition at line 1206 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator^= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator^= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator^= | ( | unsigned int | v | ) | [inline] |
Definition at line 1839 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator^= | ( | int | v | ) | [inline] |
Definition at line 1837 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator^= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator^= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator^= | ( | const sc_unsigned & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator|= | ( | const sc_uint_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator|= | ( | const sc_int_base & | v | ) |
| const sc_signed& sc_dt::sc_signed::operator|= | ( | unsigned int | v | ) | [inline] |
Definition at line 1785 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator|= | ( | int | v | ) | [inline] |
Definition at line 1783 of file sc_signed.h.
| const sc_signed& sc_dt::sc_signed::operator|= | ( | unsigned long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator|= | ( | long | v | ) |
| const sc_signed& sc_dt::sc_signed::operator|= | ( | const sc_unsigned & | v | ) |
| bool sc_dt::sc_signed::or_reduce | ( | ) | const |
| void sc_dt::sc_signed::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inline] |
Definition at line 1329 of file sc_signed.h.
| const sc_signed_subref_r& sc_dt::sc_signed::range | ( | int | i, | |
| int | j | |||
| ) | const [inline] |
Definition at line 1275 of file sc_signed.h.
| sc_signed_subref& sc_dt::sc_signed::range | ( | int | i, | |
| int | j | |||
| ) | [inline] |
Definition at line 1266 of file sc_signed.h.
| void sc_dt::sc_signed::reverse | ( | ) |
| void sc_dt::sc_signed::scan | ( | ::std::istream & | is = ::std::cin |
) |
| void sc_dt::sc_signed::set | ( | int | i, | |
| bool | v | |||
| ) | [inline] |
Definition at line 1363 of file sc_signed.h.
| void sc_dt::sc_signed::set | ( | int | i | ) |
| void sc_dt::sc_signed::set_packed_rep | ( | sc_digit * | buf | ) |
| bool sc_dt::sc_signed::sign | ( | ) | const |
| bool sc_dt::sc_signed::test | ( | int | i | ) | const |
| double sc_dt::sc_signed::to_double | ( | ) | const |
| int sc_dt::sc_signed::to_int | ( | ) | const |
| int64 sc_dt::sc_signed::to_int64 | ( | ) | const |
| long sc_dt::sc_signed::to_long | ( | ) | const |
| const std::string sc_dt::sc_signed::to_string | ( | sc_numrep | numrep, | |
| bool | w_prefix | |||
| ) | const |
| const std::string sc_dt::sc_signed::to_string | ( | sc_numrep | numrep = SC_DEC |
) | const |
| unsigned int sc_dt::sc_signed::to_uint | ( | ) | const |
| uint64 sc_dt::sc_signed::to_uint64 | ( | ) | const |
| unsigned long sc_dt::sc_signed::to_ulong | ( | ) | const |
| bool sc_dt::sc_signed::xnor_reduce | ( | ) | const [inline] |
Definition at line 1356 of file sc_signed.h.
| bool sc_dt::sc_signed::xor_reduce | ( | ) | const |
| sc_signed add_signed_friend | ( | small_type | us, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| small_type | vs, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |
| sc_signed and_signed_friend | ( | small_type | us, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| small_type | vs, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |
| sc_signed div_signed_friend | ( | small_type | s, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |
| sc_signed mod_signed_friend | ( | small_type | us, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |
| sc_signed mul_signed_friend | ( | small_type | s, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |
| SC_API bool operator!= | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator!= | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator!= | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API bool operator!= | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| bool operator!= | ( | unsigned int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 1972 of file sc_signed.h.
| bool operator!= | ( | int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 1970 of file sc_signed.h.
| SC_API bool operator!= | ( | unsigned long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator!= | ( | long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| bool operator!= | ( | const sc_signed & | u, | |
| unsigned int | v | |||
| ) | [friend] |
Definition at line 1963 of file sc_signed.h.
| bool operator!= | ( | const sc_signed & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1961 of file sc_signed.h.
| SC_API bool operator!= | ( | const sc_signed & | u, | |
| unsigned long | v | |||
| ) | [friend] |
| SC_API bool operator!= | ( | const sc_signed & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API bool operator!= | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API bool operator!= | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1664 of file sc_signed.h.
Definition at line 1662 of file sc_signed.h.
Definition at line 1655 of file sc_signed.h.
Definition at line 1653 of file sc_signed.h.
| sc_signed operator% | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1645 of file sc_signed.h.
| SC_API sc_signed operator% | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator% | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1640 of file sc_signed.h.
| SC_API sc_signed operator% | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator% | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1720 of file sc_signed.h.
Definition at line 1718 of file sc_signed.h.
Definition at line 1711 of file sc_signed.h.
Definition at line 1709 of file sc_signed.h.
| sc_signed operator& | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1701 of file sc_signed.h.
| SC_API sc_signed operator& | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator& | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1696 of file sc_signed.h.
| SC_API sc_signed operator& | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator& | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1556 of file sc_signed.h.
Definition at line 1554 of file sc_signed.h.
Definition at line 1547 of file sc_signed.h.
Definition at line 1545 of file sc_signed.h.
| sc_signed operator* | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1537 of file sc_signed.h.
| SC_API sc_signed operator* | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator* | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1532 of file sc_signed.h.
| SC_API sc_signed operator* | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator* | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1437 of file sc_signed.h.
Definition at line 1435 of file sc_signed.h.
Definition at line 1428 of file sc_signed.h.
Definition at line 1426 of file sc_signed.h.
| sc_signed operator+ | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1418 of file sc_signed.h.
| SC_API sc_signed operator+ | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator+ | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1413 of file sc_signed.h.
| SC_API sc_signed operator+ | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator+ | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u | ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_uint_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1500 of file sc_signed.h.
Definition at line 1498 of file sc_signed.h.
Definition at line 1491 of file sc_signed.h.
Definition at line 1489 of file sc_signed.h.
| sc_signed operator- | ( | unsigned int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1481 of file sc_signed.h.
| sc_signed operator- | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1479 of file sc_signed.h.
| SC_API sc_signed operator- | ( | unsigned long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | uint64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator- | ( | const sc_unsigned & | u, | |
| unsigned int | v | |||
| ) | [friend] |
Definition at line 1472 of file sc_signed.h.
| sc_signed operator- | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1470 of file sc_signed.h.
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| unsigned long | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| uint64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator- | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1610 of file sc_signed.h.
Definition at line 1608 of file sc_signed.h.
Definition at line 1601 of file sc_signed.h.
Definition at line 1599 of file sc_signed.h.
| sc_signed operator/ | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1591 of file sc_signed.h.
| SC_API sc_signed operator/ | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator/ | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1586 of file sc_signed.h.
| SC_API sc_signed operator/ | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator/ | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| bool operator< | ( | unsigned int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 2001 of file sc_signed.h.
| bool operator< | ( | int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 1999 of file sc_signed.h.
| SC_API bool operator< | ( | unsigned long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| bool operator< | ( | const sc_signed & | u, | |
| unsigned int | v | |||
| ) | [friend] |
Definition at line 1992 of file sc_signed.h.
| bool operator< | ( | const sc_signed & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1990 of file sc_signed.h.
| SC_API bool operator< | ( | const sc_signed & | u, | |
| unsigned long | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | const sc_signed & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API bool operator< | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator<< | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator<< | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1865 of file sc_signed.h.
Definition at line 1863 of file sc_signed.h.
| SC_API sc_signed operator<< | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_unsigned operator<< | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| bool operator<= | ( | unsigned int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 2030 of file sc_signed.h.
| bool operator<= | ( | int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 2028 of file sc_signed.h.
| SC_API bool operator<= | ( | unsigned long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| bool operator<= | ( | const sc_signed & | u, | |
| unsigned int | v | |||
| ) | [friend] |
Definition at line 2021 of file sc_signed.h.
| bool operator<= | ( | const sc_signed & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 2019 of file sc_signed.h.
| SC_API bool operator<= | ( | const sc_signed & | u, | |
| unsigned long | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | const sc_signed & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API bool operator<= | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| bool operator== | ( | unsigned int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 1943 of file sc_signed.h.
| bool operator== | ( | int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 1941 of file sc_signed.h.
| SC_API bool operator== | ( | unsigned long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| bool operator== | ( | const sc_signed & | u, | |
| unsigned int | v | |||
| ) | [friend] |
Definition at line 1934 of file sc_signed.h.
| bool operator== | ( | const sc_signed & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1932 of file sc_signed.h.
| SC_API bool operator== | ( | const sc_signed & | u, | |
| unsigned long | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | const sc_signed & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API bool operator== | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| bool operator> | ( | unsigned int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 2059 of file sc_signed.h.
| bool operator> | ( | int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 2057 of file sc_signed.h.
| SC_API bool operator> | ( | unsigned long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| bool operator> | ( | const sc_signed & | u, | |
| unsigned int | v | |||
| ) | [friend] |
Definition at line 2050 of file sc_signed.h.
| bool operator> | ( | const sc_signed & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 2048 of file sc_signed.h.
| SC_API bool operator> | ( | const sc_signed & | u, | |
| unsigned long | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | const sc_signed & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API bool operator> | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| bool operator>= | ( | unsigned int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 2088 of file sc_signed.h.
| bool operator>= | ( | int | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
Definition at line 2086 of file sc_signed.h.
| SC_API bool operator>= | ( | unsigned long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | long | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| bool operator>= | ( | const sc_signed & | u, | |
| unsigned int | v | |||
| ) | [friend] |
Definition at line 2079 of file sc_signed.h.
| bool operator>= | ( | const sc_signed & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 2077 of file sc_signed.h.
| SC_API bool operator>= | ( | const sc_signed & | u, | |
| unsigned long | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | const sc_signed & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API bool operator>= | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator>> | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator>> | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1896 of file sc_signed.h.
Definition at line 1894 of file sc_signed.h.
| SC_API sc_signed operator>> | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_unsigned operator>> | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1828 of file sc_signed.h.
Definition at line 1826 of file sc_signed.h.
Definition at line 1819 of file sc_signed.h.
Definition at line 1817 of file sc_signed.h.
| sc_signed operator^ | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1809 of file sc_signed.h.
| SC_API sc_signed operator^ | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator^ | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1804 of file sc_signed.h.
| SC_API sc_signed operator^ | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator^ | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_uint_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_int_base & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_signed & | u, | |
| const sc_uint_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_signed & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_int_base & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_unsigned & | u, | |
| const sc_int_base & | v | |||
| ) | [friend] |
Definition at line 1774 of file sc_signed.h.
Definition at line 1772 of file sc_signed.h.
Definition at line 1765 of file sc_signed.h.
Definition at line 1763 of file sc_signed.h.
| sc_signed operator| | ( | int | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
Definition at line 1755 of file sc_signed.h.
| SC_API sc_signed operator| | ( | long | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | int64 | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| sc_signed operator| | ( | const sc_unsigned & | u, | |
| int | v | |||
| ) | [friend] |
Definition at line 1750 of file sc_signed.h.
| SC_API sc_signed operator| | ( | const sc_unsigned & | u, | |
| long | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_unsigned & | u, | |
| int64 | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_signed & | u, | |
| const sc_unsigned & | v | |||
| ) | [friend] |
| SC_API sc_signed operator| | ( | const sc_unsigned & | u, | |
| const sc_signed & | v | |||
| ) | [friend] |
| sc_signed or_signed_friend | ( | small_type | us, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| small_type | vs, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |
friend class sc_concatref [friend] |
Reimplemented from sc_dt::sc_value_base.
Definition at line 1097 of file sc_signed.h.
friend class sc_signed_bitref [friend] |
Definition at line 1099 of file sc_signed.h.
friend class sc_signed_bitref_r [friend] |
Definition at line 1098 of file sc_signed.h.
friend class sc_signed_subref [friend] |
Definition at line 1101 of file sc_signed.h.
friend class sc_signed_subref_r [friend] |
Definition at line 1100 of file sc_signed.h.
friend class sc_unsigned [friend] |
Definition at line 1102 of file sc_signed.h.
friend class sc_unsigned_subref [friend] |
Definition at line 1103 of file sc_signed.h.
| sc_signed sub_signed_friend | ( | small_type | us, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| small_type | vs, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |
| sc_signed xor_signed_friend | ( | small_type | us, | |
| int | unb, | |||
| int | und, | |||
| const sc_digit * | ud, | |||
| small_type | vs, | |||
| int | vnb, | |||
| int | vnd, | |||
| const sc_digit * | vd | |||
| ) | [friend] |


{% extends "base.html" %} {% block title %} Book API {% endblock %} {% block content %}
Django Books Store API can be access to get JSON format Book data
Just click the button and enter the ISBN of the particular book from the book detail or search for the book and enter its url to get JSON formatted data of the book.
Get JSON Data
Get JSON formatted data of book containing the book title, author, year, review count and average score in the format given below
{
"title": "Memory",
"author": "Doug Lloyd",
"year": 2015,
"isbn": "1632168146",
"review_count": 28,
"average_score": 5.0
}
<IP_ADDRESS>/api/isbn
import requests
data = requests.get('http://<IP_ADDRESS>:8000/api/0778325504')
print(data.json())
json = data.json()
print(json['title'])


Well, Mars have recently changed the recipe and design for Galaxy, so it’s probably about time we checked it out.
MacBook comes with a different way to experience a trackpad. The Force Touch trackpad is engineered to deliver a responsive, uniform click no matter where you press the surface. And underneath, force sensors detect how much pressure you’re applying.
You can now use a Force click to enable useful capabilities, like quickly looking up the definition of a word or previewing a file just by clicking and continuing to press the trackpad. You’ll also experience haptic feedback — a tactile vibration from the trackpad that adds the sense of touch to what you see on the screen. These advanced capabilities work in addition to all the intuitive Multi-Touch gestures Mac users love. You’ll be more in touch with your Mac than ever before. Without lifting a finger.
MacBook is designed to fit effortlessly into our increasingly wireless world. Just about anything you do with a notebook can now be done over the air, thanks to Apple software that takes full advantage of the latest Wi‑Fi and Bluetooth wireless technology. So no matter where you are, you can connect to the web, transfer files, organize your photos, listen to music, and more — without being tied down.
macOS is the operating system that powers everything you do on a Mac. macOS Sierra introduces new ways to enjoy your photos, and work more seamlessly between devices.


Week 9 Cultural Blog
Questions
2/22/15
I think generally I try to ask good questions. I try to be specific as possible so that the person I'm asking knows what I'm talking about. Way back in the first week, I had a question when I was installing SQLite. I had no idea what the error message was saying so I took a screenshot and included it with my question. I included details such as how I was getting the message. In the end, the error resolved itself but I did get helpful responses to my question.
Another important note about asking a good question is the audience you're asking to. When I had a coding question, I didn't ask my boss at work who knows nothing about coding. When asking a coding question on Google, it's important to include what language you're working with. A solution for Ruby isn't what you want when you're working with JavaScript.


--- title: About ---
obiajulu[at]priceton.edu
Hi, my name is Joseph Obiajulu and I am a rising Senior studying Math, Computer Science, and a little Physics at Princeton Unversity. This summer I'll be doing Google's Summer of Code, working with the Julia Language on their ODE package. I am being mentored by @mauro3 and @jiahao, and am looking forward to the summer spent coding!


URANUS
- Uranus is the seventh planet from the sun.
- Uranus is the farthest planet that can be seen without a telescope.
- Its average distance from the sun is about 1,784,860,000 miles (2,872,460,000 kilometers), a distance that takes light about 2 hours 40 minutes to travel.
- Its diameter at the equator is 31,763 miles (51,118 kilometers), over four times that of Earth.
- British astronomer William Herschel discovered it in 1781.
- Johann E. Bode, a German astronomer, named it Uranus after a sky god in Greek mythology.
- Most of our information about Uranus comes from the flight of the United States spacecraft Voyager 2.
Back


Work Day Scheduler
A simple calendar app for scheduling your work day
Clear your day!
9AM
10AM
11AM
12AM
1PM
2PM
3PM
4PM
5PM
>


This project analyzes the correlation between health and poverty. Using a few datasets from both Census Beureau and Center for Disease Control, a scatter plot is created with multiple axes, clicking on the axis-labels causes the graph to rotate accordingly. Technical skills applied: JavaScript, D3.js library, correlation analysis, HTML/Bootstrap.
View Project View CodeThis project utilizes webscraping via BeautifulSoup4 and Selenium to scrape data from multiple websites in order to create a customized website. Images and Twitter data from NASA is scraped and stored in MongoDB. Technical skills applied: Python, MongoDB, Webscraping, HTML/Bootstrap.
View Project View CodeThis project is a web application that aggregates bikeshare, carshare, Uber/Lyft, and weather data to inform a user on commuting options. This project utilizes a combination Python, Javascript, SQL Alchemy, MySQL, Flask (to generate the user interface and endpoints), and Heroku deployed. A great project.
View Project View CodeProject involving analysis of bacterial strains within belly button. My first foray into JavaScript utilizing Plotly.js library. User selects a sample from a dropdown menu. Python/SQLalchemy/Flask is used to create the JSONified endpoint for the sample, then JavaScript is used to create the plots. Deployed on Heroku.
View Project View Code


The generated codes can be used for coupons, promotional codes, gift vouchers, serial numbers and much more. If you need an end-to-end promotion campaigns management and tracking, try voucherify.io
Generate


Survey Form
This is a form in order to get enough data in order to access our website!
Name
Email
Number
1
2
3
Dog
Cat
Snake
The Jocker
The Wolf of Wall Street
Harry Potter
Submit


Learning Puppet — Templates
Begin
Let’s make a small adjustment to our NTP module from the last chapter: remove the source
attribute from the file resource, and replace it with a content
attribute using a new function. (Remember that source
specifies file contents as a file, and content
specifies file contents as a string.)
# /etc/puppetlabs/puppet/modules/ntp/manifests/init.pp
class ntp {
#...
#...
#...
file { 'ntp.conf':
path => '/etc/ntp.conf',
ensure => file,
require => Package['ntp'],
content => template("ntp/${conf_file}.erb"),
}
}
Then, copy the config files into the templates directory:
# cd /etc/puppetlabs/puppet/modules/ntp
# mkdir templates
# cp files/ntp.conf.el templates/ntp.conf.el.erb
# cp files/ntp.conf.debian templates/ntp.conf.debian.erb
The module should work the same way it’s been working, but your config files are no longer static files; they’re templates.
Stopping the Static Content Explosion
So consider our NTP module.
Right now, we’re shipping around two different config files, which resemble the defaults for Red Hat-like and Debian-like OSes. What if we wanted to make a few small and reasonable changes? For example:
- Use different NTP servers for a small number of machines
- Adjust the settings on virtual machines, so NTP doesn’t panic if the time jumps
We could end up maintaining eight or more different config files! Let’s not do that. Instead, we can manage a bunch of small differences in one or two template files.
Templates are documents that contain a mixture of static and dynamic content. By using a small amount of conditional logic and variable interpolation, they let you maintain one source document that can be rendered into any number of final documents.
For more details on the behavior of Puppet templates, see the guide for Using Puppet Templates; we’ll cover the basics right here.
Template Files
Templates are saved as files with the .erb extension, and should be stored in the templates/
directory of any module. There can be any number of subdirectories inside templates/
.
Rendering Templates
To use a template, you have to render it to produce an output string. To do this, use Puppet’s built-in template
function. This function takes a path to one or more template files and returns an output string:
file {'/etc/foo.conf':
ensure => file,
require => Package['foo'],
content => template('foo/foo.conf.erb'),
}
Notice that we’re using the output string as the value of the content
attribute — it wouldn’t work with the source
attribute, which expects a URL rather than the actual content for a file.
Refererring to Template Files in Modules
The template
function expects file paths to be in a specific format:
<MODULE NAME>/<FILENAME INSIDE TEMPLATES DIRECTORY>
That is, template('foo/foo.conf.erb')
would point to the file /etc/puppetlabs/puppet/modules/foo/templates/foo.conf.erb
.
Note that the path to the template doesn’t use the same semantics as the path in a
puppet:///
URL. Sorry about the inconsistency.
Inline Templates
Alternately, you can use the inline_template
function, which takes a string containing a template and returns an output string.
This is less frequently useful, but if you have a very small template, you can sometimes embed it in the manifest instead of making a whole new file for it.
Aside: Functions in General
We’ve seen several functions already, including
include
,template
,fail
, andstr2bool
, so this is as good a time as any to explain what they are.Puppet has two kinds of functions:
- Functions that return a value
- Functions that do something else, without returning a value
The
template
andstr2bool
functions both return values; you can use them anywhere that requires a value, as long as the return value is the right kind. Theinclude
andfail
functions do something else, without returning a value — declare a class, and stop catalog compilation, respectively.All functions are run during catalog compilation. This means they run on the puppet master, and don’t have access to any files or settings on the agent node.
Functions can take any number of arguments, which are separated by commas and can be surrounded by optional parentheses:
function(argument, argument, argument)
Functions are plugins, so many custom plugins are available in modules.
Complete documentation about functions are available at the functions page of the Puppet reference manual and the list of built-in functions.
Variables in Templates
Templates are powerful because they have access to all of the Puppet variables that are present when the template is rendered.
- Facts, global variables, and local variables from the current scope are available to a template as Ruby instance variables — instead of Puppet’s
$
prefix, they have an@
prefix. (e.g.@fqdn, @memoryfree, @operatingsystem
, etc.) - Variables from other scopes can be accessed with the
scope.lookupvar
method, which takes a long variable name without the$
prefix. (For example,scope.lookupvar('apache::user')
.)
The ERB Templating Language
Puppet doesn’t have its own templating language; instead, it uses ERB, a common Ruby-based template language. (The Rails framework uses ERB, as do several other projects.)
ERB templates mostly look like normal configuration files, with the occasional <% tag containing Ruby code %>
. The ERB syntax is documented here, but since tags can contain any Ruby code, it’s possible for templates to get pretty complicated.
In general, we recommend keeping templates as simple as possible: we’ll show you how to print variables, do conditional statements, and iterate over arrays, which should be enough for most tasks.
Non-Printing Tags
ERB tags are delimited by angle brackets with percent signs just inside. (There isn’t any HTML-like concept of opening or closing tags.)
<% document = "" %>
Tags contain one or more lines of Ruby code, which can set variables, munge data, implement control flow, or… actually, pretty much anything, except for print text in the rendered output.
Printing an Expression
For that, you need to use a printing tag, which looks like a normal tag with an equals sign right after the opening delimiter:
<%= sectionheader %>
environment = <%= gitrevision[0,5] %>
The value you print can be a simple variable, or it can be an arbitrarily complicated Ruby expression.
Comments
A tag with a hash mark right after the opening delimiter can hold comments, which aren’t interpreted as code and aren’t displayed in the rendered output.
<%# This comment will be ignored. %>
Suppressing Line Breaks and Leading Space
Regular tags don’t print anything, but if you keep each tag of logic on its own line, the line breaks you use will show up as a swath of whitespace in the final file. Similarly, if you’re indenting for readability, the whitespace in the indent can mess up the format of the rendered output.
If you don’t like that, you can:
- Trim line breaks by putting a hyphen directly before the closing delimiter
- Trim leading space by putting a hyphen directly after the opening delimiter
<%- document += thisline -%>
An Example: NTP Again
Let’s make the templates in your NTP module a little more clever.
First, make sure you change the file resource to use a template, like we saw at the top of this page. You should also make sure you’ve copied the config files to the templates/
directory and given them the .erb extension.
Adjusting the Manifest
Next, we’ll move the default NTP servers out of the config file and into the manifest:
# /etc/puppetlabs/puppet/modules/ntp/manifests/init.pp
class ntp {
case $operatingsystem {
centos, redhat: {
$service_name = 'ntpd'
$conf_file = 'ntp.conf.el'
$default_servers = [ "0.centos.pool.ntp.org",
"1.centos.pool.ntp.org",
"2.centos.pool.ntp.org", ]
}
debian, ubuntu: {
$service_name = 'ntp'
$conf_file = 'ntp.conf.debian'
$default_servers = [ "0.debian.pool.ntp.org iburst",
"1.debian.pool.ntp.org iburst",
"2.debian.pool.ntp.org iburst",
"3.debian.pool.ntp.org iburst", ]
}
}
$servers_real = $default_servers
package { 'ntp':
ensure => installed,
}
service { 'ntp':
name => $service_name,
ensure => running,
enable => true,
subscribe => File['ntp.conf'],
}
file { 'ntp.conf':
path => '/etc/ntp.conf',
ensure => file,
require => Package['ntp'],
content => template("ntp/${conf_file}.erb"),
}
}
We’re storing the servers in an array, so we can show how to iterate within a template. Right now, we’re not providing the ability to change the list of servers, but we’re paving the way to do so in the next chapter.
Editing the Templates
First, make each template use the $servers_real
variable to create the list of server
statements:
<%# /etc/puppetlabs/puppet/modules/ntp/templates/ntp %>
# Managed by Class['ntp']
<% @servers_real.each do |this_server| -%>
server <%= this_server %>
<% end -%>
# ...
What’s this doing?
- Using a non-printing Ruby tag to start a loop. We reference the
$servers_real
Puppet variable by the name@servers_real
, then call Ruby’seach
method on it. Everything betweendo |server| -%>
and the<% end -%>
tag will be repeated for each item in the$servers_real
array, with the value of that array item being assigned to the temporarythis_server
variable. - Within the loop, we print the literal word
server
, followed by the value of the current array item.
This snippet will produce something like the following:
# Managed by Class['ntp']
server 0.centos.pool.ntp.org
server 1.centos.pool.ntp.org
server 2.centos.pool.ntp.org
Next, let’s use the $is_virtual
fact to make NTP perform better if this is a virtual machine. At the top of the file, add this:
<% if @is_virtual == "true" -%>
# Keep ntpd from panicking in the event of a large clock skew
# when a VM guest is suspended and resumed.
tinker panic 0
<% end -%>
Then, below the loop we made for the server statements, add this (being sure to replace the similar section of the Red Hat-like template):
<% if @is_virtual == "false" -%>
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
server <IP_ADDRESS> # local clock
fudge <IP_ADDRESS> stratum 10
<% end -%>
By using facts to conditionally switch parts of the config file on and off, we can easily react to the type of machine we’re managing.
Next
Next Lesson:
We’ve already seen that classes should sometimes behave differently for different kinds of systems, and have used facts to make conditional changes to both manifests and templates.
Sometimes, though, facts aren’t enough — there are times when a human has to decide what makes a machine different, because that difference is a matter of policy. (For example, the difference between a test server and a production server.)
In these cases, we need to give ourselves a way to manually change the way a class works. We can do this by passing in data with class parameters.
Off-Road:
Are you managing any configuration on your real infrastructure yet? You’ve learned a lot by now, so why not download Puppet Enterprise for free, follow the quick start guide to get a small environment installed, and start automating?


aplusk
I make stuff, actually I make up stuff, stories mostly, collaborations o...
5,579,344 followers
+ 62,345 NEW
TechCrunch
Breaking Technology News And Opinions From TechCrunch
1,423,176 followers
+ 3,027 NEW
tonyrobbins
The Official Tony Robbins Account
1,785,499 followers
+ 2,183 NEW
iamdiddy
KING COMBS
2,830,350 followers
+ 21,078 NEW
GuyKawasaki
Firehose that answers the question: What's interesting? Co-founder of Al...
271,871 followers
+ 3,983 NEW
zappos
deliveringhappinessbook.com www.zappos.com blogs.zappos.com twitter.zap...
1,723,166 followers
+ 3,710 NEW
Jason
I am a writer of emails that inspire and infuriate many. I host a podcas...
102,097 followers
+ 3 NEW
UncleRUSH
If people believe that islam attacked us, then we must teach them the tr...
420,283 followers
+ 3,533 NEW
jasonfried
Founder of 37signals. Co-author of REWORK. Credo: It's simple until you...
37,832 followers
+ 351 NEW
StartupPro
Veteran startup mentor, executive, blogger, author, tech professional, a...
244,173 followers
+ 5,347 NEW
ludajuice
This is LUDA and I'm doing a Battle of the Sexes question daily. Parenta...
782,134 followers
+ 39,944 NEW
QueenRania
A mum and a wife with a really cool day job...
1,328,313 followers
+ 5,799 NEW
IncMagazine
The magazine for entrepreneurs. Broadcasting live from New York City.
118,143 followers
+ 3,938 NEW
EntMagazine
Entrepreneur Magazine is the premier magazine of the small-business comm...
30,294 followers
+ 510 NEW
petewentz
the official pete wentz twitter. bass, clothes, mischief
2,101,724 followers
+ 4,472 NEW
arrington
TechCrunch founder. Dog Lover. Sometimes I'm a robot.
36,897 followers
+ 426 NEW
loic
Seesmic.com founder LeWeb.net conference founder and blogger. Loves kite...
47,586 followers
+ 218 NEW
dharmesh
Founder @HubSpot, Author, The Inbound Marketing Book, OnStartups.com blo...
24,496 followers
+ 187 NEW
GavinNewsom
Mayor of San Francisco, Candidate for Lt. Gov.
1,335,223 followers
ryanleslie
Artist/Producer/Social Media Entrepreneur
171,058 followers
+ 778 NEW
moonfrye
Question of the late night/morning what is your favorite birthday memory...
1,417,477 followers
RealTalibKweli
MCEO
172,196 followers
+ 1,588 NEW
someecards
Welcome to the Twitter feed of somewhat acclaimed humor site, someecards...
1,593,577 followers
msuster
2x entrepreneur. Sold both companies (last to salesforce.com). Turned VC...
12,793 followers
+ 162 NEW
techstartups
techstartups.blogspot.com - technology, entrepreneurship, venture capita...
41,117 followers
+ 94 NEW
5,748,908 followers
5,709,509 followers
5,080,196 followers
5,064,392 followers
4,530,048 followers
4,069,747 followers
3,982,895 followers
3,610,629 followers
3,407,419 followers


Upload data about your service for the period 1 to 30 June 2017
The deadline for submitting this data is 31 July 2017.
Upload your file as a CSV.
Drag and drop completed template here
The data will be published on 1 September 2017. If you don't submit by then, it will go live with missing data.


{{archive.name}}
{% if archive.name %}{{ archive.name | strip_html | truncate: 135 }}{% else %}{{ archive.name | strip_html | truncate: 135 }}{% endif %}
--- layout: default ---
Welcome to my site, I am
I am a Software Developer currently base in Malaysia, specializing in building professional web and phone application.
Hi , I am Garrick , Software Engineer from Malaysia who enjoys coding for life. I develop professional web application which helps in solving daily problems and bringing idea to live!
Technology that I am working with recently:
{{skill}}
{% endfor %} {% endif %}{% if archive.name %}{{ archive.name | strip_html | truncate: 135 }}{% else %}{{ archive.name | strip_html | truncate: 135 }}{% endif %}
D:\Archive\List of stuff that I have built
If you are interested in getting me involved in your upcoming project, my inbox is always open. Just drop me an email and I will contact you as soon as possible.


Load a Sub-Screen example
load sub-screen
Entity Title
Email address
Password
File input
Example block-level help text here.
Check me out
Delete
Save


I am kind of REALLY excited to be graduating in the spring.
My road to being a Computer Science (math minor) Senior at UMASS Lowell is different from most of my classmates.
I transferred in from Middlesex Community college maximizing my credits via the Mass Transfer program.
That isn't too unusual though. I see alot of my Middlesex classmates around.
I am a good deal older than most of the undergraduates (and grad students) at UMASS Lowell. I started my academic career a long time ago as an English major at a liberal arts college in Vermont.
My interest in literature faded and I thought that I would never return to school. However, over time I developed an interest in logic and math, specifically as applied to computers.
I began taking classes part time while working at Comcast and when I couldn't get my schedule to work with the classes I needed for the Associate's degree I quit my job. This was in the beginning of February, 2014.
Since then I have only worked full time over the summers, first for Fleetmatics as a technical support rep and then
If a kitty has long soft fur that kitty is fluffy. There are a lot of different kinds of fluffy kitties. The Maine Coon cat is the most famous American long haired cat. It displays traits of parallel evolution with the Norwegian Forest cat. One time when I lived in Brockton I lived with two cats that were part Maine Coon.
The Siberian cat is a long haired cat from Eastern Europe. The Siberian cat is great for people with allergies because it does not produce cat dander.
The Ragdoll is a new cat; it is known for its size and friendliness.
In addition to the hypertext links given for each cat I have included a list of pictures which are manipulated by the CSS code.