Home
last modified time | relevance | path

Searched refs:xinv (Results 1 – 4 of 4) sorted by relevance

/third_party/cmsis/CMSIS/DSP/Include/
Darm_vec_math_f16.h52 any16x8_t xinv; in vrecip_medprec_f16() local
55 xinv.f = ax; in vrecip_medprec_f16()
57 m = 0x03c00 - (xinv.i & 0x07c00); in vrecip_medprec_f16()
58 xinv.i = xinv.i + m; in vrecip_medprec_f16()
59 xinv.f = 1.41176471f16 - 0.47058824f16 * xinv.f; in vrecip_medprec_f16()
60 xinv.i = xinv.i + m; in vrecip_medprec_f16()
62 b = 2.0f16 - xinv.f * ax; in vrecip_medprec_f16()
63 xinv.f = xinv.f * b; in vrecip_medprec_f16()
65 b = 2.0f16 - xinv.f * ax; in vrecip_medprec_f16()
66 xinv.f = xinv.f * b; in vrecip_medprec_f16()
[all …]
Darm_vec_math.h51 any32x4_t xinv; in vrecip_medprec_f32() local
54 xinv.f = ax; in vrecip_medprec_f32()
55 m = 0x3F800000 - (xinv.i & 0x7F800000); in vrecip_medprec_f32()
56 xinv.i = xinv.i + m; in vrecip_medprec_f32()
57 xinv.f = 1.41176471f - 0.47058824f * xinv.f; in vrecip_medprec_f32()
58 xinv.i = xinv.i + m; in vrecip_medprec_f32()
60 b = 2.0f - xinv.f * ax; in vrecip_medprec_f32()
61 xinv.f = xinv.f * b; in vrecip_medprec_f32()
63 b = 2.0f - xinv.f * ax; in vrecip_medprec_f32()
64 xinv.f = xinv.f * b; in vrecip_medprec_f32()
[all …]
/third_party/boost/libs/math/test/
Dtest_autodiff_1.cpp505 const auto xinv = x.inverse(); in BOOST_AUTO_TEST_CASE_TEMPLATE() local
506 BOOST_CHECK_EQUAL(xinv.derivative(0), 1 / cx); in BOOST_AUTO_TEST_CASE_TEMPLATE()
507 BOOST_CHECK_EQUAL(xinv.derivative(1), -1 / pow(cx, 2)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
508 BOOST_CHECK_EQUAL(xinv.derivative(2), 2 / pow(cx, 3)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
509 BOOST_CHECK_EQUAL(xinv.derivative(3), -6 / pow(cx, 4)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
/third_party/openssl/crypto/bn/
Dbn_gf2m.c793 BIGNUM *xinv = NULL; in BN_GF2m_mod_div() local
801 xinv = BN_CTX_get(ctx); in BN_GF2m_mod_div()
802 if (xinv == NULL) in BN_GF2m_mod_div()
805 if (!BN_GF2m_mod_inv(xinv, x, p, ctx)) in BN_GF2m_mod_div()
807 if (!BN_GF2m_mod_mul(r, y, xinv, p, ctx)) in BN_GF2m_mod_div()