functions sin and cos
Posted:
Tue Dec 05, 2017 2:57 pm
by AntoninoP
Hello,
I am trying to compile a my program that uses the trigonometric functions sin and cos, the problem is the linker says that both are already defined in FiveH32.lib...
I see the file selector.prg has an implementation of them
...
From my knowledge they are defined in assembler, why is there a re-implementation ? they cover the standard one, I bet they are slower...
Antonino
Re: functions sin and cos
Posted:
Tue Dec 05, 2017 3:29 pm
by Enrico Maria Giordano
Can I see a sample of the problem?
EMG
Re: functions sin and cos
Posted:
Tue Dec 05, 2017 3:56 pm
by Antonio Linares
Antonino,
We are going to rename them as FWSIN and FWCOS
thanks for pointing it
Re: functions sin and cos
Posted:
Tue Dec 05, 2017 4:01 pm
by Antonio Linares
Enrico,
Functions Sin() and Cos() are already defined in Harbour hbct.lib
Re: functions sin and cos
Posted:
Tue Dec 05, 2017 4:02 pm
by AntoninoP
Enrico Maria Giordano wrote:Can I see a sample of the problem?
EMG
I am using Visual studio 2017 with harbour:
Antonio Linares wrote:Antonino,
We are going to rename them as FWSIN and FWCOS
thanks for pointing it
Ok, in the meantime I will change my version of FiveWin
Re: functions sin and cos
Posted:
Tue Dec 05, 2017 5:31 pm
by Enrico Maria Giordano
Ok, good to know, thank you.
EMG
Re: functions sin and cos
Posted:
Tue Dec 05, 2017 5:34 pm
by Enrico Maria Giordano
How to get the same message from BCC?
EMG
Re: functions sin and cos
Posted:
Tue Dec 05, 2017 6:32 pm
by nageswaragunupudi
xHarbour's ct.lib or Harbour's hbct.lib provides all the functions provided earlier by CA-Tools library in the good old Clipper days.
These functions include Trigonometric functions:
ACOS(), ASIN(), ATAN(), ATN2(), COS(), COSH(), COT(), DTOR(), GETPREC(), SETPREC(), PI(), RTOD(), SIN(), SINH(), TAN(), TANH()