Original Post
Hi:
a newbie question
I am trying to write a round integer function in assembly and c++
my function is
int Round(float x){
int num;
_asm{
finit; //init 8087
fld x; //load float number
frndint; //round it
fist num; //store number
}
return num;
}
I want to know that will that be slow because each time the function is called the finit is call to init 8087?