NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init, hicpp-member-init)
| 100 | |
| 101 | // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init, hicpp-member-init) |
| 102 | complex::complex() |
| 103 | { |
| 104 | ::mpc_init2(&m_mpc, real_prec_min()); |
| 105 | ::mpfr_set_zero(mpc_realref(&m_mpc), 1); |
| 106 | ::mpfr_set_zero(mpc_imagref(&m_mpc), 1); |
| 107 | } |
| 108 | |
| 109 | // Init a complex with precision p, setting its value to (nan,nan). No precision |
| 110 | // checking is performed. |
nothing calls this directly
no test coverage detected