Home
last modified time | relevance | path

Searched refs:coeffd (Results 1 – 3 of 3) sorted by relevance

/dports/security/seal/SEAL-3.7.2/native/src/seal/
H A Dckks.cpp124 double coeffd = round(value); in encode_internal() local
125 bool is_negative = signbit(coeffd); in encode_internal()
126 coeffd = fabs(coeffd); in encode_internal()
131 uint64_t coeffu = static_cast<uint64_t>(fabs(coeffd)); in encode_internal()
154 uint64_t coeffu[2]{ static_cast<uint64_t>(fmod(coeffd, two_pow_64)), in encode_internal()
155 static_cast<uint64_t>(coeffd / two_pow_64) }; in encode_internal()
184 while (coeffd >= 1) in encode_internal()
186 *coeffu_ptr++ = static_cast<uint64_t>(fmod(coeffd, two_pow_64)); in encode_internal()
187 coeffd /= two_pow_64; in encode_internal()
H A Dckks.h531 double coeffd = std::round(conj_values[i].real()); in encode_internal() local
532 bool is_negative = std::signbit(coeffd); in encode_internal()
534 std::uint64_t coeffu = static_cast<std::uint64_t>(std::fabs(coeffd)); in encode_internal()
557 double coeffd = std::round(conj_values[i].real()); in encode_internal() local
558 bool is_negative = std::signbit(coeffd); in encode_internal()
559 coeffd = std::fabs(coeffd); in encode_internal()
587 double coeffd = std::round(conj_values[i].real()); in encode_internal() local
588 bool is_negative = std::signbit(coeffd); in encode_internal()
589 coeffd = std::fabs(coeffd); in encode_internal()
594 while (coeffd >= 1) in encode_internal()
[all …]
/dports/math/giacxcas/giac-1.6.0/src/
H A Dsym2poly.cc674 gen coeffnum=plus_one,coeffden=plus_one,coeffn=plus_one,coeffd=plus_one; in sym2rmul() local
688 coeffd=coeffd*tmp; in sym2rmul()
730 simplify3(coeffn,coeffd); in sym2rmul()
736 coeffden=monomial2gen(monomial<gen>(coeffd,iden)); in sym2rmul()
738 coeffden=coeffd; in sym2rmul()