Hi,

math.h prototypes a number of _Decimal32, _Decimal64 and_Decimal128 
functions - eg:

_Decimal64 __cdecl expd64(_Decimal64 _X);

But when I try to compile (gcc -o d64.exe d64.c):

/*******************************/
/* d64.c */
#include <math.h>

int main(void) {

_Decimal64 x = 2.3DD, ret;

ret = expd64(x);

return 0;
}

/*******************************/

All I get is:

C:\Users\sisyphus\AppData\Local\Temp\cc2vb9go.o:d64.c:(.text+0x2e): 
undefined reference to `expd64'
collect2.exe: error: ld returned 1 exit status

What else is needed ?

Cheers,
Rob



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to