Liste des Groupes | Revenir à c arch |
Terje Mathisen <terje.mathisen@tmsw.no> schrieb:...However, if you are willing to take that first NR iteration
>
halfnumber = 0.5f*x
...
i = R-(i>>1);
...
x = x*(1.5f-halfnumber*x*x);
>
and then make both the 0.5f and 1.5f constants free variables, you can
in fact get 1.5 more bits than what they show in this paper.
Looks like https://web.archive.org/web/20180709021629/http://rrrola.wz.cz/inv_sqrt.html
who reports 6.50196699E−4 as the maximum error (also from the
Wikipedia article).
>
That's 10.5 bits of accuracy, not bad at all.
>
However... assume you want to do another NR step. In that case,
you might be better off not loading different constants from memory,
so having the same constants might actually be an advantage
(whch does not mean that they have to be the original Newton steps).
Date | Sujet | # | Auteur | |
13 Jul 24 | ![]() | 138 | Lawrence D'Oliveiro | |
13 Jul 24 | ![]() ![]() | 4 | BGB | |
14 Jul 24 | ![]() ![]() ![]() | 2 | aph | |
15 Jul 24 | ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
14 Jul 24 | ![]() ![]() ![]() | 1 | Anton Ertl | |
13 Jul 24 | ![]() ![]() | 23 | John Dallman | |
14 Jul 24 | ![]() ![]() ![]() | 21 | Lawrence D'Oliveiro | |
14 Jul 24 | ![]() ![]() ![]() ![]() | 20 | George Neuner | |
14 Jul 24 | ![]() ![]() ![]() ![]() ![]() | 19 | John Levine | |
14 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 18 | Niklas Holsti | |
14 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 16 | John Levine | |
15 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Terje Mathisen | |
15 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | John Levine | |
15 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 9 | Niklas Holsti | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 8 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 7 | John Levine | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Chris M. Thomasson | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 5 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 4 | John Levine | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | MitchAlsup1 | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | MitchAlsup1 | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | MitchAlsup1 | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
14 Jul 24 | ![]() ![]() ![]() | 1 | BGB | |
13 Jul 24 | ![]() ![]() | 1 | BGB | |
14 Jul 24 | ![]() ![]() | 10 | Lawrence D'Oliveiro | |
15 Jul 24 | ![]() ![]() ![]() | 7 | Thomas Koenig | |
15 Jul 24 | ![]() ![]() ![]() ![]() | 6 | Thomas Koenig | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() | 4 | Thomas Koenig | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 2 | MitchAlsup1 | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() | 1 | John Dallman | |
15 Jul 24 | ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() | 1 | John Levine | |
14 Jul 24 | ![]() ![]() | 1 | George Neuner | |
14 Jul 24 | ![]() ![]() | 92 | John Savard | |
14 Jul 24 | ![]() ![]() ![]() | 1 | BGB | |
15 Jul 24 | ![]() ![]() ![]() | 90 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() | 89 | John Savard | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() | 2 | MitchAlsup1 | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
16 Jul 24 | ![]() ![]() ![]() ![]() ![]() | 86 | MitchAlsup1 | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 69 | John Savard | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 68 | MitchAlsup1 | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 67 | Thomas Koenig | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Thomas Koenig | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Michael S | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 37 | MitchAlsup1 | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 36 | Stephen Fuld | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 35 | MitchAlsup1 | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 22 | Stephen Fuld | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 8 | MitchAlsup1 | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Michael S | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 6 | MitchAlsup1 | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Stephen Fuld | |
21 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | Anton Ertl | |
21 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | MitchAlsup1 | |
21 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | MitchAlsup1 | |
22 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Anton Ertl | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 11 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 10 | Michael S | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 9 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 8 | Michael S | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 6 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Michael S | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 4 | Michael S | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | Thomas Koenig | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | Michael S | |
20 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | MitchAlsup1 | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | John Savard | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 6 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 5 | Michael S | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 4 | Michael S | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | MitchAlsup1 | |
20 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Thomas Koenig | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | Stefan Monnier | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | MitchAlsup1 | |
28 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Michael S | |
18 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | MitchAlsup1 | |
28 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | Paul A. Clayton | |
28 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Michael S | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 27 | Terje Mathisen | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 5 | Thomas Koenig | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Chris M. Thomasson | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | MitchAlsup1 | |
20 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Terje Mathisen | |
20 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Thomas Koenig | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 21 | MitchAlsup1 | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 8 | Terje Mathisen | |
22 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 7 | Michael S | |
22 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | MitchAlsup1 | |
22 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 | Michael S | |
23 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | MitchAlsup1 | |
23 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 3 | Terje Mathisen | |
19 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 12 | Thomas Koenig | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 3 | Lawrence D'Oliveiro | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 12 | Stephen Fuld | |
17 Jul 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 1 | John Levine | |
15 Jul 24 | ![]() ![]() | 1 | wolfgang kern | |
15 Jul 24 | ![]() ![]() | 3 | John Levine | |
15 Jul 24 | ![]() ![]() | 1 | MitchAlsup1 | |
15 Jul 24 | ![]() ![]() | 1 | Lynn Wheeler |
Les messages affichés proviennent d'usenet.