Revision history for KeyPgLog


Revision [22273]

Last edited on 2018-04-16 10:35:57 by fxm [Overloadable]
Additions:
There can be some confusion with this notation given that in mathematics the natural logarithm function is usually denoted **LN**, while the logarithm of base 10 is often denoted as LOG. FreeBASIC, like most computer programming languages, uses LOG to denote the natural logarithm. The required //number// argument can be any valid numeric expression greater than zero. If ##//number//## is zero, FreeBASIC returns a special value representing "-infinity", printing like "-Inf". If ##//number//## is less than zero, ##**Log**## returns a special value representing "not defined", printing like """NaN""" or "IND", exact text is platform dependent. If ##//number//## is an uninitialized variable, -infinity is returned.
##**Log**## can be overloaded as operator to accept user-defined types.
Deletions:
There can be some confusion with this notation given that in mathematics the natural logarithm function is usually denoted **LN**, while the logarithm of base 10 is often denoted as LOG. FreeBASIC, like most computer programming languages, uses LOG to denote the natural logarithm. The required //number// argument can be any valid numeric expression greater than zero. If ##//number//## is zero, FreeBASIC returns a special value representing "-infinity", printing like "-Inf". If ##//number//## is less than zero, **Log** returns a special value representing "not defined", printing like """NaN""" or "IND", exact text is platform dependent. If ##//number//## is an uninitialized variable, -infinity is returned.
**Log** can be overloaded to accept user-defined types.


Revision [22266]

Edited on 2018-04-16 10:19:21 by fxm [Overloadable]
Additions:

**Log** can be overloaded to accept user-defined types.


Revision [20302]

Edited on 2016-02-10 16:02:18 by DkLwikki [Update link format]
Additions:
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Log** [[KeyPgCdecl|cdecl]] ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgDouble|double]] ) [[KeyPgAs|as]] [[KeyPgDouble|double]]
- ##[[KeyPgExp|Exp]]##
Deletions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Log** [[KeyPgCdecl cdecl]] ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgDouble double]] ) [[KeyPgAs as]] [[KeyPgDouble double]]
- ##[[KeyPgExp Exp]]##


Revision [14029]

Edited on 2008-12-13 12:55:10 by LaananFisher [Updated: minor formatting]
Additions:
//result// = **Log**( //number// )
Deletions:
//result// = **Log** ( //number// )


Revision [13860]

Edited on 2008-11-01 03:25:49 by DoS386 [ln(0) [2]]
Additions:
There can be some confusion with this notation given that in mathematics the natural logarithm function is usually denoted **LN**, while the logarithm of base 10 is often denoted as LOG. FreeBASIC, like most computer programming languages, uses LOG to denote the natural logarithm. The required //number// argument can be any valid numeric expression greater than zero. If ##//number//## is zero, FreeBASIC returns a special value representing "-infinity", printing like "-Inf". If ##//number//## is less than zero, **Log** returns a special value representing "not defined", printing like """NaN""" or "IND", exact text is platform dependent. If ##//number//## is an uninitialized variable, -infinity is returned.
Deletions:
There can be some confusion with this notation given that in mathematics the natural logarithm function is usually denoted **LN**, while the logarithm of base 10 is often denoted as LOG. FreeBASIC, like most computer programming languages, uses LOG to denote the natural logarithm. The required //number// argument can be any valid numeric expression greater than zero. If ##//number//## is zero, FreeBASIC returns a special value representing "-infinity", printing like "-Inf". If ##//number//## is less than zero, FreeBASIC returns a special value representing "not defined", printing like """NaN""" or "IND". If ##//number//## is an uninitialized variable, -infinity is returned.


Revision [13858]

Edited on 2008-11-01 03:21:24 by DoS386 [ln(0)]
Additions:
There can be some confusion with this notation given that in mathematics the natural logarithm function is usually denoted **LN**, while the logarithm of base 10 is often denoted as LOG. FreeBASIC, like most computer programming languages, uses LOG to denote the natural logarithm. The required //number// argument can be any valid numeric expression greater than zero. If ##//number//## is zero, FreeBASIC returns a special value representing "-infinity", printing like "-Inf". If ##//number//## is less than zero, FreeBASIC returns a special value representing "not defined", printing like """NaN""" or "IND". If ##//number//## is an uninitialized variable, -infinity is returned.
Deletions:
There can be some confusion with this notation given that in mathematics the natural logarithm function is usually denoted **LN**, while the logarithm of base 10 is often denoted as LOG. FreeBASIC, like most computer programming languages, uses LOG to denote the natural logarithm. The required //number// argument can be any valid numeric expression greater than zero. If ##//number//## is zero, FreeBASIC returns -infinity. If ##//number//## is less than zero, FreeBASIC returns a domain error (-1#IND). If ##//number//## is an uninitialized variable, -infinity is returned.


Revision [9975]

The oldest known version of this page was created on 2007-07-24 05:49:09 by JeffMarshall [ln(0)]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode