Results 1 to 40 of 43

Thread: Square root??? *Gave up*

Threaded View

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Square root??? *Gave up*

    Do anyone know what method that are used to performe Square root in C++? Is it Newton Raphsons? If so I have an idea. Maybe it could be made faster if you wrote it in ASM, and you didn't need 100% correct answer. In DX you have to use Sqr a couple of times even if you try not to. But it is using really long time. But if you only need lets say the 4 first decimales right mayeb it could be done faster. What do you think?

    Never used ASM code in VC++, but I have heard it should work. So if anyone think it can be done faster I will try it out, but I am not really good in ASM so I guess I will use a lot of time to optimize it, so I am not going to try if it's not worth it.
    Last edited by NoteMe; Jan 18th, 2004 at 08:12 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width