W
Wolfgang Tischer
Hello everyone,
i'm not very familiar with the insides of c++, i prefer asm... but
unfortunately i'm in need for some c-help.
(compiler switch, rewritten math.h or something)
for the following c stuff the borland c compiler creates something like
this:
C: double x = cos(value);
EXE: push value
call _cos
fstp x
the MS Visual C Compilere does this:
EXE: fld value
fcos
fstp x
So MS Visual C is much faster and does not require an external _cos
funktion. But as I'm bound to the omf obj and lib file structure i require
the borland compiler to compile the c code.
.... is it anyhow possible to get borland to compile the same???? i dislike
the use of the huge (1,3 MB) standard dll library just for using some simple
cos, sin functions
thanks,
Wolfgang Tischer
i'm not very familiar with the insides of c++, i prefer asm... but
unfortunately i'm in need for some c-help.
(compiler switch, rewritten math.h or something)
for the following c stuff the borland c compiler creates something like
this:
C: double x = cos(value);
EXE: push value
call _cos
fstp x
the MS Visual C Compilere does this:
EXE: fld value
fcos
fstp x
So MS Visual C is much faster and does not require an external _cos
funktion. But as I'm bound to the omf obj and lib file structure i require
the borland compiler to compile the c code.
.... is it anyhow possible to get borland to compile the same???? i dislike
the use of the huge (1,3 MB) standard dll library just for using some simple
cos, sin functions
thanks,
Wolfgang Tischer