|Newbie questions about Pliant
How to I get to the trigonometric functions?
|Message posted by maybe Todd Fleming on 2001/03/05 03:35:54
|I tried sin and cos but it didn't recognize them.
|Message posted by maybe Hubert Tonneau on 2001/03/05 09:13:01
|They belong to the /pliant/math/functions.pli module.
Also this module will currently work only on Linux or a Posix system.
The all explaination is that the i386 (or i387) processor does not have
a 'sin' and 'cos' function, so in order to compute these you have to run
a whole program.
I was a bit lazy, so I interfaced the functions in Linux glibc rather
that build the assembly code inline.
So, if you want to use this functions under Win32, you currently have to
find a DLL that contain these (and tell me what it is).
Looks like I need to correct this.
|Message posted by maybe Todd Fleming on 2001/03/07 02:12:40
|crtdll.dll contains them. I set math_library to it and it worked fine.
|Message posted by maybe Hubert Tonneau on 2001/03/07 09:01:04
|Please, post a patch on the code forum.