![]() |
ATLAS Offline Software
|
#include <ap_fixed.h>
Public Member Functions | |
| ap_fixed ()=default | |
| ap_fixed (const double d) requires(std | |
| ap_fixed (const double d) requires(std | |
| operator double () const | |
| const ap_fixed | operator+ (const ap_fixed &f) const |
| const ap_fixed & | operator+= (const ap_fixed &f) |
| ap_fixed | operator- (const ap_fixed &f) const |
| const ap_fixed & | operator-= (const ap_fixed &f) |
| ap_fixed | operator* (const ap_fixed &f) const |
| const ap_fixed & | operator*= (const ap_fixed &f) |
| ap_fixed | operator/ (const ap_fixed &f) const |
| const ap_fixed & | operator/= (const ap_fixed &f) |
| ap_fixed | operator- () const |
| void | test_overflow () |
Static Public Member Functions | |
| static ap_fixed | form (T v) |
Public Attributes | |
| T | m_value = T{0} |
| bool | m_ovflw {false} |
Static Public Attributes | |
| static constexpr T | m_overflow_mask = max_to_overflow<width, T>() |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const ap_fixed< width, dp, S, T, WS > ap) |
Definition at line 44 of file ap_fixed.h.
|
default |
|
inline |
Definition at line 58 of file ap_fixed.h.
|
inline |
Definition at line 63 of file ap_fixed.h.
|
inlinestatic |
|
inline |
|
inline |
Definition at line 104 of file ap_fixed.h.
|
inline |
Definition at line 78 of file ap_fixed.h.
|
inline |
Definition at line 83 of file ap_fixed.h.
|
inline |
Definition at line 122 of file ap_fixed.h.
|
inline |
Definition at line 89 of file ap_fixed.h.
|
inline |
Definition at line 94 of file ap_fixed.h.
|
inline |
Definition at line 115 of file ap_fixed.h.
|
inline |
Definition at line 126 of file ap_fixed.h.
|
staticconstexpr |
Definition at line 47 of file ap_fixed.h.
| bool GlobalSim::ap_fixed< width, dp, S, T, WS >::m_ovflw {false} |
Definition at line 49 of file ap_fixed.h.
| T GlobalSim::ap_fixed< width, dp, S, T, WS >::m_value = T{0} |
Definition at line 46 of file ap_fixed.h.
1.8.18