1 registered members (blaurock),
750
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Fun Thread reloaded
[Re: 3run]
#453985
08/22/15 07:40
08/22/15 07:40
|
Joined: Sep 2003
Posts: 9,859
FBL
OP
Senior Expert
|
OP
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
|
|
|
Re: Fun Thread reloaded
[Re: Kartoffel]
#456032
11/06/15 14:49
11/06/15 14:49
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Here is an explanation of why/how this works, if anyone is curious: http://h14s.p5r.org/2012/09/0x5f3759df.htmlKeep in mind that on modern hardware, you don't want to actually use that function anymore, because CPUs have a built in instruction called rsqrtss which does an approximation to 11 bits, and it doesn't require the compiler to generate instructions to get the floating point out of the XMM registers and then later back in.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: Fun Thread reloaded
[Re: FBL]
#456115
11/10/15 22:33
11/10/15 22:33
|
Joined: Sep 2007
Posts: 1,093 Germany
Toast
Serious User
|
Serious User
Joined: Sep 2007
Posts: 1,093
Germany
|
|
|
|
Re: Fun Thread reloaded
[Re: Toast]
#456147
11/12/15 10:37
11/12/15 10:37
|
Joined: Sep 2003
Posts: 9,859
FBL
OP
Senior Expert
|
OP
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
|
|
|
|