Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double fast_sqrt_1(double n)
- {
- __asm{
- fld n
- fsqrt
- }
- }
- double inline __declspec (naked) __fastcall faster_sqrt_2(double n)
- {
- _asm fld qword ptr [esp+4]
- _asm fsqrt
- _asm ret 8
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement