Hi,
Currently am working with FWH 2.7 January 2007 version Using Harbour Alpha build 45.0 Intl. (Flex).
I require access to the ArcTan function. Is there a library that I can link in to provide the missing trigonometric functions?
Thanks,
Vytas
Vytas wrote:Thanks for pointing me to the newer Harbour software. I cannot link it in using a modified FWH 2.7 link script. Perhaps I need a more current rmk file. If so where can I get one? Or do I have to upgrade my FWH software?
Thanks,
Vytas
#pragma BEGINDUMP
#include "windows.h"
#include "math.h"
#include "hbapi.h"
HB_FUNC( TANG )
{
hb_retnd((double) tan((double)hb_parnd(1) ));
}
HB_FUNC( ATN )
{
hb_retnd((double) atan((double)hb_parnd(1)));
}
HB_FUNC( COS )
{
hb_retnd((double) cos((double)hb_parnd(1)));
}
HB_FUNC( ACOS )
{
hb_retnd((double) acos((double)hb_parnd(1)));
}
HB_FUNC( SIN )
{
hb_retnd((double) sin((double)hb_parnd(1)));
}
#pragma ENDDUMP
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 70 guests