Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
rsqrtfast
Aleks11
Nov 25th, 2011
219
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
float
rsqrtf
(
const
float
v
)
{
union
{
float
vh
;
int
i0
;
}
;
union
{
float
vr
;
int
i1
;
}
;
vh
=
v
*
0.5f
;
i1
=
0x5f3759df
-
(
i0
>>
1
)
;
return
vr
*
(
1.5f
-
vh
*
vr
*
vr
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
This month smells like money
CSS | 9 hours ago | 0.99 KB
Instant Profits Method
CSS | 9 hours ago | 0.99 KB
Free Money Exploit
CSS | 9 hours ago | 0.99 KB
+12,000$ in 2 days
CSS | 9 hours ago | 0.99 KB
✅ Changelly Exploit
CSS | 9 hours ago | 0.99 KB
sglang llm key
11 hours ago | 0.07 KB
doc
15 hours ago | 14.62 KB
myGiteaMcpConfig
JSON | 17 hours ago | 0.28 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!