![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
Safe code?
I am using this square root function from within my C++ application. But I am a little bit worried that it might not be totally fail safe. Can it in some way "screw it up" for other applications that uses the FPU at the "same" time? How should I fix it if that's so?
.586 .model flat, C .code sqrt proc x:DWORD fld x fsqrt ret sqrt endp end /Klarre
__________________
http://www.klarre.se |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|