Home
last modified time | relevance | path

Searched refs:square_root (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/dports/graphics/blender/blender-2.91.0/extern/draco/dracoenc/src/draco/core/
H A Dmath_utils.h34 uint64_t square_root = 1; in IntSqrt() local
37 square_root *= 2; in IntSqrt()
44 square_root = (square_root + number / square_root) / 2; in IntSqrt()
50 } while (square_root * square_root > number); in IntSqrt()
51 return square_root; in IntSqrt()
/dports/archivers/draco/draco-1.4.3/src/draco/core/
H A Dmath_utils.h35 uint64_t square_root = 1; in IntSqrt() local
38 square_root *= 2; in IntSqrt()
45 square_root = (square_root + number / square_root) / 2; in IntSqrt()
51 } while (square_root * square_root > number); in IntSqrt()
52 return square_root; in IntSqrt()
/dports/multimedia/assimp/assimp-5.1.3/contrib/draco/src/draco/core/
H A Dmath_utils.h35 uint64_t square_root = 1; in IntSqrt() local
38 square_root *= 2; in IntSqrt()
45 square_root = (square_root + number / square_root) / 2; in IntSqrt()
51 } while (square_root * square_root > number); in IntSqrt()
52 return square_root; in IntSqrt()
/dports/math/cppad/CppAD-20210000.8/example/multi_thread/
H A Dmulti_chkpoint_one.cpp147 vector<double>* square_root; member
242 work_all_[thread_num]->square_root = new vector<double>; in multi_chkpoint_one_setup()
291 work_all_[thread_num]->square_root->resize(n); in multi_chkpoint_one_worker()
296 (* work_all_[thread_num]->square_root )[i] = y[0]; in multi_chkpoint_one_worker()
351 bool multi_chkpoint_one_takedown(vector<double>& square_root) in multi_chkpoint_one_takedown() argument
357 square_root.resize(0); in multi_chkpoint_one_takedown()
360 size_t n = work_all_[thread_num]->square_root->size(); in multi_chkpoint_one_takedown()
362 square_root.push_back((* work_all_[thread_num]->square_root )[i]); in multi_chkpoint_one_takedown()
373 delete work_all_[thread_num]->square_root; in multi_chkpoint_one_takedown()
452 vector<double>& square_root ) in multi_chkpoint_one_run() argument
[all …]
H A Dmulti_atomic_two.cpp192 vector<double>* square_root; member
287 work_all_[thread_num]->square_root = new vector<double>; in multi_atomic_two_setup()
335 work_all_[thread_num]->square_root->resize(n); in multi_atomic_two_worker()
340 (* work_all_[thread_num]->square_root )[i] = y[0]; in multi_atomic_two_worker()
394 bool multi_atomic_two_takedown(vector<double>& square_root) in multi_atomic_two_takedown() argument
400 square_root.resize(0); in multi_atomic_two_takedown()
403 size_t n = work_all_[thread_num]->square_root->size(); in multi_atomic_two_takedown()
405 square_root.push_back((* work_all_[thread_num]->square_root )[i]); in multi_atomic_two_takedown()
416 delete work_all_[thread_num]->square_root; in multi_atomic_two_takedown()
492 vector<double>& square_root ) in multi_atomic_two_run() argument
[all …]
H A Dmulti_chkpoint_two.cpp147 vector<double>* square_root; member
242 work_all_[thread_num]->square_root = new vector<double>; in multi_chkpoint_two_setup()
291 work_all_[thread_num]->square_root->resize(n); in multi_chkpoint_two_worker()
296 (* work_all_[thread_num]->square_root )[i] = y[0]; in multi_chkpoint_two_worker()
351 bool multi_chkpoint_two_takedown(vector<double>& square_root) in multi_chkpoint_two_takedown() argument
357 square_root.resize(0); in multi_chkpoint_two_takedown()
360 size_t n = work_all_[thread_num]->square_root->size(); in multi_chkpoint_two_takedown()
362 square_root.push_back((* work_all_[thread_num]->square_root )[i]); in multi_chkpoint_two_takedown()
373 delete work_all_[thread_num]->square_root; in multi_chkpoint_two_takedown()
452 vector<double>& square_root ) in multi_chkpoint_two_run() argument
[all …]
H A Dmulti_atomic_three.cpp205 vector<double>* square_root; member
300 work_all_[thread_num]->square_root = new vector<double>; in multi_atomic_three_setup()
348 work_all_[thread_num]->square_root->resize(n); in multi_atomic_three_worker()
353 (* work_all_[thread_num]->square_root )[i] = y[0]; in multi_atomic_three_worker()
407 bool multi_atomic_three_takedown(vector<double>& square_root) in multi_atomic_three_takedown() argument
413 square_root.resize(0); in multi_atomic_three_takedown()
416 size_t n = work_all_[thread_num]->square_root->size(); in multi_atomic_three_takedown()
418 square_root.push_back((* work_all_[thread_num]->square_root )[i]); in multi_atomic_three_takedown()
429 delete work_all_[thread_num]->square_root; in multi_atomic_three_takedown()
505 vector<double>& square_root ) in multi_atomic_three_run() argument
[all …]
/dports/archivers/draco/draco-1.4.3/docs/spec/
H A Dprediction.texcoords.decoder.md10 square_root = 1;
12 square_root *= 2;
16 square_root = (square_root + number / square_root) / 2;
17 } while (square_root * square_root > number);
18 return square_root;
/dports/math/p5-Math-Prime-XS/Math-Prime-XS-0.27/
H A DXS.xs239 const unsigned long square_root = sqrt (number); /* truncates */
244 for (n = 3; n <= square_root; n += 2) /* uneven numbers only */
294 const unsigned long square_root = sqrt (n); /* truncates */
296 for (c = 0; c < pos && primes[c] <= square_root; c++)
340 unsigned long square_root; /* calculate later for efficiency */ variable
343 square_root = sqrt (n); /* truncates */
344 for (i = start; i <= square_root; i++)
355 else if (start == square_root)
395 start = square_root;
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/
H A Ddct_scales.h15 struct square_root { struct
16 static constexpr float value = square_root<V / 4>::value * 2; argument
20 struct square_root<1> {
25 struct square_root<2> {
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/
H A Ddct_scales.h15 struct square_root { struct
16 static constexpr float value = square_root<V / 4>::value * 2; argument
20 struct square_root<1> {
25 struct square_root<2> {
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/
H A Ddct_scales.h15 struct square_root { struct
16 static constexpr float value = square_root<V / 4>::value * 2; argument
20 struct square_root<1> {
25 struct square_root<2> {
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/STLport-5.2.1/test/unit/
H A Dunary_test.cpp79 …form((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_root(),… in ucompos1()
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
/dports/devel/p5-Devel-ebug/Devel-ebug-0.64/corpus/
H A Dcarp.pl9 my $result = square_root($x);
12 sub square_root { subroutine
/dports/math/plplot-ada/plplot-5.15.0/examples/ada/
H A Dxstandard08a.adb66 square_root : Long_Float; variable
162 square_root := sqrt( 1.0 - Long_Float'Min(1.0, ((Long_Float(i) - x0) / a)**2));
166 indexymin(i) := Integer'Max(0, Trunc(0.5 + y0 - b * square_root ));
169 indexymax(i) := Integer'Min(YPTS, 1 + Trunc(0.5 + y0 + b * square_root));
H A Dxtraditional08a.adb66 square_root : Long_Float; variable
162 square_root := sqrt( 1.0 - Long_Float'Min(1.0, ((Long_Float(i) - x0) / a)**2));
166 indexymin(i) := Integer'Max(0, Trunc(0.5 + y0 - b * square_root ));
169 indexymax(i) := Integer'Min(YPTS, 1 + Trunc(0.5 + y0 + b * square_root));
/dports/math/plplot/plplot-5.15.0/examples/ada/
H A Dxstandard08a.adb66 square_root : Long_Float; variable
162 square_root := sqrt( 1.0 - Long_Float'Min(1.0, ((Long_Float(i) - x0) / a)**2));
166 indexymin(i) := Integer'Max(0, Trunc(0.5 + y0 - b * square_root ));
169 indexymax(i) := Integer'Min(YPTS, 1 + Trunc(0.5 + y0 + b * square_root));
H A Dxtraditional08a.adb66 square_root : Long_Float; variable
162 square_root := sqrt( 1.0 - Long_Float'Min(1.0, ((Long_Float(i) - x0) / a)**2));
166 indexymin(i) := Integer'Max(0, Trunc(0.5 + y0 - b * square_root ));
169 indexymax(i) := Integer'Min(YPTS, 1 + Trunc(0.5 + y0 + b * square_root));
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/boost/geometry/util/
H A Dmath.hpp224 struct square_root struct
273 struct square_root<float, true> struct
279 struct square_root<double, true> struct
285 struct square_root<long double, true> struct
291 struct square_root<T, true> struct
564 inline typename detail::square_root<T>::return_type
567 return detail::square_root in sqrt()
/dports/databases/percona57-server/boost_1_59_0/boost/geometry/util/
H A Dmath.hpp224 struct square_root struct
273 struct square_root<float, true> struct
279 struct square_root<double, true> struct
285 struct square_root<long double, true> struct
291 struct square_root<T, true> struct
564 inline typename detail::square_root<T>::return_type
567 return detail::square_root in sqrt()
/dports/databases/xtrabackup/boost_1_59_0/boost/geometry/util/
H A Dmath.hpp224 struct square_root struct
273 struct square_root<float, true> struct
279 struct square_root<double, true> struct
285 struct square_root<long double, true> struct
291 struct square_root<T, true> struct
564 inline typename detail::square_root<T>::return_type
567 return detail::square_root in sqrt()
/dports/databases/percona57-client/boost_1_59_0/boost/geometry/util/
H A Dmath.hpp224 struct square_root struct
273 struct square_root<float, true> struct
279 struct square_root<double, true> struct
285 struct square_root<long double, true> struct
291 struct square_root<T, true> struct
564 inline typename detail::square_root<T>::return_type
567 return detail::square_root in sqrt()
/dports/databases/mysqlwsrep57-server/boost_1_59_0/boost/geometry/util/
H A Dmath.hpp224 struct square_root struct
273 struct square_root<float, true> struct
279 struct square_root<double, true> struct
285 struct square_root<long double, true> struct
291 struct square_root<T, true> struct
564 inline typename detail::square_root<T>::return_type
567 return detail::square_root in sqrt()
/dports/databases/mysql57-client/mysql-5.7.36/boost/boost_1_59_0/boost/geometry/util/
H A Dmath.hpp224 struct square_root struct
273 struct square_root<float, true> struct
279 struct square_root<double, true> struct
285 struct square_root<long double, true> struct
291 struct square_root<T, true> struct
564 inline typename detail::square_root<T>::return_type
567 return detail::square_root in sqrt()
/dports/math/plplot-ada/plplot-5.15.0/examples/java/
H A Dx08.java144 double square_root; in x08() local
199 square_root = Math.sqrt( 1. - Math.min( 1., Math.pow( ( i - x0 ) / a, 2. ) ) ); in x08()
202 indexymin[i] = Math.max( 0, (int) ( 0.5 + y0 - b * square_root ) ); in x08()
205 indexymax[i] = Math.min( YPTS, 1 + (int) ( 0.5 + y0 + b * square_root ) ); in x08()

12345678910>>...12