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 ...
Search found 50 matches: cos
Searched query: cos
- Tue Dec 05, 2017 2:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: functions sin and cos
- Replies: 7
- Views: 1006
- Sat Oct 21, 2017 8:44 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 6993
Re: funciones de FWH y Harbour en un archivo .txt
... nFirstRow>])->nPosition
AClone(<aArray>)->aDuplicate
ACopy(<aSource>,<aTarget>,[<nSourceStart>],[<nCount>],[<nTargetStart>])->aTarget
ACos(<nRadians>)->nArcCosine
AddASCII(<cString>,<nValue>,[<nPos>])->cNewString
AddMonth(<dDate>,<nMonths>)->dNewDate
ADel(<aArray>,<nElement>,[<lShrink ...
AClone(<aArray>)->aDuplicate
ACopy(<aSource>,<aTarget>,[<nSourceStart>],[<nCount>],[<nTargetStart>])->aTarget
ACos(<nRadians>)->nArcCosine
AddASCII(<cString>,<nValue>,[<nPos>])->cNewString
AddMonth(<dDate>,<nMonths>)->dNewDate
ADel(<aArray>,<nElement>,[<lShrink ...
- Sat Oct 21, 2017 8:43 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 6993
Re: funciones de FWH y Harbour en un archivo .txt
... objGetMethodList
__objGetValueList
__objModInline
__objModMethod
__objSetValueList
__Pack
__Run
__Zap
AAdd
Abs
AChoice
AClone
ACopy
ACos
AddASCII
AddMonth
ADel
ADir
ADSBlob2File
ADSClearAOF
ADSCustomizeAOF
AdsDDRemoveTable
ADSEvalAOF
ADSFile2Blob
ADSGetAOF
ADSGetAOFnoOpt ...
__objGetValueList
__objModInline
__objModMethod
__objSetValueList
__Pack
__Run
__Zap
AAdd
Abs
AChoice
AClone
ACopy
ACos
AddASCII
AddMonth
ADel
ADir
ADSBlob2File
ADSClearAOF
ADSCustomizeAOF
AdsDDRemoveTable
ADSEvalAOF
ADSFile2Blob
ADSGetAOF
ADSGetAOFnoOpt ...
- Sat Jul 11, 2015 4:35 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Error compiling with latest Xharbour commercial
- Replies: 7
- Views: 2529
Re: Error compiling with latest Xharbour commercial
... SIN previously defined at c:\fwh\lib\FiveHMX.lib(SELECTOR.obj)' is multiply defined.
xLINK: warning: Symbol 'C:\xHB\lib\xhb.lib(trig.obj)->_HB_FUN_COS previously defined at c:\fwh\lib\FiveHMX.lib(SELECTOR.obj)' is multiply defined.
xLINK: warning: Symbol 'C:\xHB\lib\xhb.lib(ctmath2.obj)->_HB_FUN ...
xLINK: warning: Symbol 'C:\xHB\lib\xhb.lib(trig.obj)->_HB_FUN_COS previously defined at c:\fwh\lib\FiveHMX.lib(SELECTOR.obj)' is multiply defined.
xLINK: warning: Symbol 'C:\xHB\lib\xhb.lib(ctmath2.obj)->_HB_FUN ...
- Sat Jul 11, 2015 9:54 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Error compiling with latest Xharbour commercial
- Replies: 7
- Views: 2529
Error compiling with latest Xharbour commercial
... SIN previously defined at c:\fwh\lib\FiveHMX.lib(SELECTOR.obj)' is multiply defined.
xLINK: warning: Symbol 'C:\xHB\lib\xhb.lib(trig.obj)->_HB_FUN_COS previously defined at c:\fwh\lib\FiveHMX.lib(SELECTOR.obj)' is multiply defined.
Creating object: c:\utenti\utenti.EXP
Creating library: c:\utenti ...
xLINK: warning: Symbol 'C:\xHB\lib\xhb.lib(trig.obj)->_HB_FUN_COS previously defined at c:\fwh\lib\FiveHMX.lib(SELECTOR.obj)' is multiply defined.
Creating object: c:\utenti\utenti.EXP
Creating library: c:\utenti ...
- Sun Jun 01, 2014 8:28 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Calculator revisited
- Replies: 33
- Views: 19961
Re: Calculator revisited
Antonio,
can we use math function on getcalc ?
sample as sin() cos() tan()
I tried compiling get calc with a function but when I insert the function it give me error
can we use math function on getcalc ?
sample as sin() cos() tan()
I tried compiling get calc with a function but when I insert the function it give me error
- Thu May 29, 2014 6:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Calculator revisited
- Replies: 33
- Views: 19961
Re: Calculator revisited
Friend,
I I use a Math function as sin or cos with getcalc of Timm it make error
do you have a solution for it ?
I I use a Math function as sin or cos with getcalc of Timm it make error
do you have a solution for it ?
- Sun Aug 05, 2012 4:51 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Rotar BitMap para brujula GPS
- Replies: 6
- Views: 2279
Re: Rotar BitMap para brujula GPS
... y = hb_parni( 3 );
centerPt.x = hb_parni( 4 );
if ( m_iAngle != 0 )
{
fangle = (double)m_iAngle / 180 * 3.1415926;
xform.eM11 = (float)cos(fangle);
xform.eM12 = (float)sin(fangle);
xform.eM21 = (float)-sin(fangle);
xform.eM22 = (float)cos(fangle);
xform.eDx = (float)(centerPt.x ...
centerPt.x = hb_parni( 4 );
if ( m_iAngle != 0 )
{
fangle = (double)m_iAngle / 180 * 3.1415926;
xform.eM11 = (float)cos(fangle);
xform.eM12 = (float)sin(fangle);
xform.eM21 = (float)-sin(fangle);
xform.eM22 = (float)cos(fangle);
xform.eDx = (float)(centerPt.x ...
- Wed Jun 15, 2011 6:03 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Error Excel
- Replies: 0
- Views: 1289
Error Excel
... lispre->cli_lispr)+"PRE","N",19,4})
aadd(aEstructura,{alltrim(lispre->cli_lispr)+"MGL","N",19,4})
aadd(aEstructura,{alltrim(lispre->cli_lispr)+"COS","N",19,4})
aadd(aEstructura,{alltrim(lispre->cli_lispr)+"MGC","N",19,4})
oSheet:Cells( 1, N ):Value = alltrim(lispre->cli_lispr)+"DES"
N:=N+1 ...
aadd(aEstructura,{alltrim(lispre->cli_lispr)+"MGL","N",19,4})
aadd(aEstructura,{alltrim(lispre->cli_lispr)+"COS","N",19,4})
aadd(aEstructura,{alltrim(lispre->cli_lispr)+"MGC","N",19,4})
oSheet:Cells( 1, N ):Value = alltrim(lispre->cli_lispr)+"DES"
N:=N+1 ...
- Wed Mar 10, 2010 8:40 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Trigometric function
- Replies: 6
- Views: 1163
Re: Trigometric function
Include in your PRG, and ready to use. (Tang(n),Atn(),Cos(),Sin(),Acos())
#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 ...
#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 ...
- Fri Mar 05, 2010 5:12 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Trigometric function
- Replies: 6
- Views: 1163
Re: Trigometric function
All the necessary Trigonometric functions are available in CT.LIB of XHarbour or HBCT.LIB for Harbour. These libraries come along with xHarbour and Harbour. We just need to link these libraries also to use the functions.
We have SIN, COS, TAN, ASIN, ACOS, ATAN, ATAN2, TANH, etc
We have SIN, COS, TAN, ASIN, ACOS, ATAN, ATAN2, TANH, etc
- Sat Feb 07, 2009 6:42 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Problema GPF
- Replies: 10
- Views: 2304
Re: Problema GPF
... Aggiunta funzione aTan
{
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 ...
{
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 ...
- Fri Jan 30, 2009 1:37 pm
- Forum: All products support
- Topic: Errore base/1094
- Replies: 8
- Views: 2121
Re: Errore base/1094
Ciao Enrico.
Mi accetta Sin() e Cos() però non Atan()...
E' nella libreria hbct.lib di Harbour e nella libreria ct.lib di xHarbour.
Scusa la domanda, Fwh usa ancora librerie clipper tipo CT o solo librerie sue?
Non ne sono sicuro. Mi sembra che alcune siano state ridefinite ma bisognerebbe ...
Mi accetta Sin() e Cos() però non Atan()...
E' nella libreria hbct.lib di Harbour e nella libreria ct.lib di xHarbour.
Scusa la domanda, Fwh usa ancora librerie clipper tipo CT o solo librerie sue?
Non ne sono sicuro. Mi sembra che alcune siano state ridefinite ma bisognerebbe ...
- Fri Jan 30, 2009 12:47 pm
- Forum: All products support
- Topic: Errore base/1094
- Replies: 8
- Views: 2121
Re: Errore base/1094
Ciao Enrico.
Mi accetta Sin() e Cos() però non Atan()...
Scusa la domanda, Fwh usa ancora librerie clipper tipo CT o solo librerie sue?
Penso che usi quelle di Harbour o Xharbour.
Guardando le Ng di Harbour non trovo Sin(), Cos() etc.
In quale libreria trovo queste funzioni?
Ciao, grazie.
Mi accetta Sin() e Cos() però non Atan()...
Scusa la domanda, Fwh usa ancora librerie clipper tipo CT o solo librerie sue?
Penso che usi quelle di Harbour o Xharbour.
Guardando le Ng di Harbour non trovo Sin(), Cos() etc.
In quale libreria trovo queste funzioni?
Ciao, grazie.
- Thu Jan 29, 2009 8:15 pm
- Forum: All products support
- Topic: Errore base/1094
- Replies: 8
- Views: 2121
Re: Errore base/1094
Scusami, ti disturbo ancora.
Con Fiwevin usavo la libreria Funcky per alcune funzioni, tipo
Setdrive() - L_Sin() - L_Cos() - L_Atan() Etc.
Con Fwh come posso fare?
Ci sono funzioni simili nelle librerie di Fwh?
Ciao, grazie.
Con Fiwevin usavo la libreria Funcky per alcune funzioni, tipo
Setdrive() - L_Sin() - L_Cos() - L_Atan() Etc.
Con Fwh come posso fare?
Ci sono funzioni simili nelle librerie di Fwh?
Ciao, grazie.