if i use fsin to find the sin value of real number. im find and expression syntax error. i#m using turbo c++ 3.0 on dos.
i have looked for the instruction listing in x87 fpu. i tried to google some information. and also changed my intruction set reference on compiler setting from 8087 to 80287.
#include<stdio.h>
#include<math.h>
void main(){
double a = 1.98,val;
asm{
fld a
fsin
fstp val
}
printf("%f", val);
}
expression sntax error: fsin