\hypertarget{group__math__functions}{}\doxysection{Math Functions}
\label{group__math__functions}\index{Math Functions@{Math Functions}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__math__functions_ga38089899d2c160b300a0ae1864d62420}{Qore\+::abs}} (\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} i)
\begin{DoxyCompactList}\small\item\em Returns the absolute value of the argument passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gaa7733d4d308dbec2beace333f09c3ef7}{Qore\+::abs}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the absolute value of the argument passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga5e9a214488ce1f4ba5cc9d26f6978935}{Qore\+::abs}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the absolute value of the argument passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga71481aee49d627dc81be04218403f9c3}{Qore\+::abs}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga5a93ca5d985c1ec389dc2e8155c50945}{Qore\+::acos}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the value in radians of the arc cosine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga0838a098432c8e4c32193d7e0b5e2ec7}{Qore\+::acos}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the value in radians of the arc cosine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gaef73d17beb9f264c4563d82a620ea4b2}{Qore\+::asin}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the value in radians of the arc sine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gafca957e6c95406c4007756654864b23f}{Qore\+::asin}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the value in radians of the arc sine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga6b76bdc78639d9016533ba4e12889054}{Qore\+::asin}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga06455c71af5acd6092798bbd73a31d11}{Qore\+::atan}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the value in radians of the arc tangent of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga1d6cd800200357be2f5ed3ae148b3214}{Qore\+::atan}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the value in radians of the arc tangent of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga97fee9f84fea60610cb3cf2652b2ea79}{Qore\+::atan}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gaf0dd86d0443549ced1ce66216e52b5b9}{Qore\+::atan2}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} y, \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} x)
\begin{DoxyCompactList}\small\item\em Returns the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga433a4ef722e514683bc77c8cdc17cd76}{Qore\+::atan2}} (softfloat y, softfloat x)
\begin{DoxyCompactList}\small\item\em Returns the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gac371f42a2ccc6df4da19a12eed4af11b}{Qore\+::atan2}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga550385686c44893395a36b2c04aaaf05}{Qore\+::cbrt}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the cube root of the number passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga5f7caff04d815819e5c97d1456ad312b}{Qore\+::cbrt}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the cube root of the number passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga6948548a7a38f3ab443cff2d685847cd}{Qore\+::cbrt}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__math__functions_gab5e499c271ead1e1dfb44cec71a9254e}{Qore\+::ceil}} (\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the smallest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is greater than or equal to {\bfseries{num}}. (Thus, for non-\/negative {\bfseries{prec}} just returns {\bfseries{num}}). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gaed04cba9a818c5dad33ffb2871ad87ac}{Qore\+::ceil}} (softfloat num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the smallest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is greater than or equal to {\bfseries{num}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gabe108b64e9ff309137da23c1bcce548a}{Qore\+::ceil}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the smallest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is greater than or equal to {\bfseries{num}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gaccf620735a9f2348f6fc1d7433d35ef2}{Qore\+::ceil}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__math__functions_ga129fcfa5d3eb69023df68ab6d5ee0a08}{Qore\+::compare}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n1, \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n2, \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} epsilon)
\begin{DoxyCompactList}\small\item\em Compares numbers with a given epsilon. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__math__functions_gadd0761e8ac44a20734c5f9e22f972535}{Qore\+::compare}} (\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} n1, \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} n2, \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} epsilon)
\begin{DoxyCompactList}\small\item\em Compares numbers with a given epsilon. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga186a9482dd5895b705a3beb96e082853}{Qore\+::cos}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the cosine of the number in radians passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gad209f947ec323f3d4b510ba5f92be3e9}{Qore\+::cos}} (\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} f)
\begin{DoxyCompactList}\small\item\em Returns the cosine of the number in radians passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga0850361c701d766865c53c9843816b35}{Qore\+::cos}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga8c8d31cb7ed2a3049674fb466a28d5a7}{Qore\+::cosh}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the hyperbolic cosine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gae19f38dfe1db9a2301e416a3856407c5}{Qore\+::cosh}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the hyperbolic cosine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga1a61f3338662e5506b6136432b2ce151}{Qore\+::cosh}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gade650051a32f10bd32c11e43147f5c9f}{Qore\+::exp}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gaa0affdead63c65b21c00b58022b3e68c}{Qore\+::exp}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gacfec9a92f179668fb42789b58ecd4813}{Qore\+::exp}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gaa74f9ab5d7202722ddfa833494b8964f}{Qore\+::exp2}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the value of 2 raised to the power of the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gab945afacb9ebe698063c36f130583797}{Qore\+::exp2}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the value of 2 raised to the power of the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga4dcd9971318a4097503725feb6853adf}{Qore\+::exp2}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gaddd772711a98adc77dab2d3fe44caa0e}{Qore\+::expm1}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number -\/ 1. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga1fcb0c3b334fca454e2f2a20a5b23465}{Qore\+::expm1}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number -\/ 1. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga57e59f21e8fea30377359bb776dd1556}{Qore\+::expm1}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__math__functions_gaef0b0eaa3ff1b0535cc4059e3afbdfb5}{Qore\+::floor}} (\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the largest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is less than or equal to {\bfseries{num}}. (Thus, for non-\/negative {\bfseries{prec}} just returns {\bfseries{num}}). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga68f2e4488c79d193ecedcd8593d2790b}{Qore\+::floor}} (softfloat f, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the largest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is less than or equal to {\bfseries{num}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gafaefa5a3af3bfc983dc61aeb7136808c}{Qore\+::floor}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the largest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is less than or equal to {\bfseries{num}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga9ccdcd051934bf7cd5d74fc76da5e013}{Qore\+::floor}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gac5c31652da041eff9ea16b3c2771286d}{Qore\+::hypot}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} x, \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} y)
\begin{DoxyCompactList}\small\item\em Returns the length of the hypotenuse of a right-\/angle triangle with sides given as the two arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gaf659ed610b825c471a6dbcdb49e3ff5e}{Qore\+::hypot}} (softfloat x, softfloat y)
\begin{DoxyCompactList}\small\item\em Returns the length of the hypotenuse of a right-\/angle triangle with sides given as the two arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga3bbf7515c71d0317f2d9808c770482fa}{Qore\+::hypot}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga0b5ab474da3ffc109e7fd2e88054f558}{Qore\+::log10}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the base 10 logarithm of the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga40e4696269395eca51826018ccb1005c}{Qore\+::log10}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the base 10 logarithm of the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga8c69b9687360cabd345fe651944d64b3}{Qore\+::log10}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga8dc307313dd965ae431e7b01d262f3a2}{Qore\+::log1p}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the natural logarithm of 1 + the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga08abc34cf4eed7f2988ad72e1d8a7efa}{Qore\+::log1p}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the natural logarithm of 1 + the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga764e8653af1f7486a5094e4f82076144}{Qore\+::log1p}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga60aedc6483aae0b6a8995a0e66033917}{Qore\+::logb}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the exponent of the given number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga9c502205c686b8d4c6c0615098f2a79c}{Qore\+::logb}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga0d0fa396dc4a1b684067c9b997d71124}{Qore\+::nlog}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the natural logarithm of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gaed1fad62e6b0652db6dee40136938be0}{Qore\+::nlog}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the natural logarithm of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gab378250c1757fa872825a6390143f3c1}{Qore\+::nlog}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gaf2588c28291e1350f74db63b3e4a0a1a}{Qore\+::pow}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} x, \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} y)
\begin{DoxyCompactList}\small\item\em Returns a number raised to the power of another number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga17c670477842b817de5b3cf8564069cb}{Qore\+::pow}} (softfloat x=0.\+0, softfloat y=0.\+0)
\begin{DoxyCompactList}\small\item\em Returns a number raised to the power of another number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__math__functions_ga99beb41177f06433ce9dda9fcfd07ec7}{Qore\+::round}} (softint num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the multiple of {\bfseries{-\/prec}}-\/th power of 10 that is closest to {\bfseries{num}} (numbers halfway between two such powers of 10 are rounded away from zero). (So, for non-\/negative {\bfseries{prec}} just returns {\bfseries{num}}). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga58bb01191dc2e4d100e2441e16efffc4}{Qore\+::round}} (softfloat num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the multiple of {\bfseries{-\/prec}}-\/th power of 10 that is closest to {\bfseries{num}} (numbers halfway between two such powers of 10 are rounded away from zero). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gacb2148d883c639ff7f0bf638529d12e7}{Qore\+::round}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec=0)
\begin{DoxyCompactList}\small\item\em Returns the multiple of {\bfseries{-\/prec}}-\/th power of 10 that is closest to {\bfseries{num}} (numbers halfway between two such powers of 10 are rounded away from zero). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gae6425e4d03545022532cb545b6d8f8d9}{Qore\+::round}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gad00ce3afad2d4bd3801b62ed29075025}{Qore\+::sin}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the sine of the number in radians passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga107498f74b38f1d78d61bd9a6a548de0}{Qore\+::sin}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the sine of the number in radians passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gab31f5ce089c6688322f724d8780f7f70}{Qore\+::sin}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_gac9aa03003b422b8be260d6f619920bf9}{Qore\+::sinh}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the hyperbolic sine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gaf28e116cbae881b4fa41cefe14cc3214}{Qore\+::sinh}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the hyperbolic sine of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga6aefc0c0ac853d4cfcf5e572897599f6}{Qore\+::sinh}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga2f134b5b4d98b70d72f9c94f3b95d4cc}{Qore\+::sqrt}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the square root of the number passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gaefc4acbd9b9a216d3cbcdd280e7ab180}{Qore\+::sqrt}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the square root of the number passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga8873e17f305c9f756e2dee5c315a3776}{Qore\+::sqrt}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga8a3cbd27664790d4ce0fc1fedc8b7c44}{Qore\+::tan}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the tangent of the number in radians passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gac1f61216ee1f25b70d5155fd2d9a459c}{Qore\+::tan}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the tangent of the number in radians passed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga45cc206908aba7948ffe6c6ee4f74129}{Qore\+::tan}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} \mbox{\hyperlink{group__math__functions_ga643397eb8e9ed9003e97ad3080f098a6}{Qore\+::tanh}} (\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} n)
\begin{DoxyCompactList}\small\item\em Returns the hyperbolic tangent of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_gacfa354769ae75f003aae7a7fd89b93f7}{Qore\+::tanh}} (softfloat f)
\begin{DoxyCompactList}\small\item\em Returns the hyperbolic tangent of the given value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} \mbox{\hyperlink{group__math__functions_ga7c3ad79861038ae30568b6543e51af93}{Qore\+::tanh}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Math functions / 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__math__functions_ga71481aee49d627dc81be04218403f9c3}\label{group__math__functions_ga71481aee49d627dc81be04218403f9c3}} 
\index{Math Functions@{Math Functions}!abs@{abs}}
\index{abs@{abs}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{abs()}{abs()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::abs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga38089899d2c160b300a0ae1864d62420}\label{group__math__functions_ga38089899d2c160b300a0ae1864d62420}} 
\index{Math Functions@{Math Functions}!abs@{abs}}
\index{abs@{abs}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{abs()}{abs()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{i }\end{DoxyParamCaption})}



Returns the absolute value of the argument passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em i} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the absolute value of the argument passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int i = abs(-\/20); \textcolor{comment}{\# returns 20}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \mbox{\hyperlink{class_qore_1_1zzz8intzzz9_a2853596aba431a8e4ad3e3e7e2417c37}{Qore\+::zzz8intzzz9\+::abs()}} 
\end{DoxyNote}
\mbox{\Hypertarget{group__math__functions_gaa7733d4d308dbec2beace333f09c3ef7}\label{group__math__functions_gaa7733d4d308dbec2beace333f09c3ef7}} 
\index{Math Functions@{Math Functions}!abs@{abs}}
\index{abs@{abs}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{abs()}{abs()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the absolute value of the argument passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the absolute value of the argument passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number n = abs(-\/20n); \textcolor{comment}{\# returns 20n}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \mbox{\hyperlink{class_qore_1_1zzz8numberzzz9_a638c34b8465f9a9ce773c25e4a263cd9}{Qore\+::zzz8numberzzz9\+::abs()}} 
\end{DoxyNote}
\mbox{\Hypertarget{group__math__functions_ga5e9a214488ce1f4ba5cc9d26f6978935}\label{group__math__functions_ga5e9a214488ce1f4ba5cc9d26f6978935}} 
\index{Math Functions@{Math Functions}!abs@{abs}}
\index{abs@{abs}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{abs()}{abs()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::abs (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the absolute value of the argument passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the absolute value of the argument passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float f = abs(-\/20.2); \textcolor{comment}{\# returns 20.2}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
equivalent to \mbox{\hyperlink{class_qore_1_1zzz8floatzzz9_a2adeb1fcae50106e1a3ed4506d5b12ea}{Qore\+::zzz8floatzzz9\+::abs()}} 
\end{DoxyNote}
\mbox{\Hypertarget{group__math__functions_ga5a93ca5d985c1ec389dc2e8155c50945}\label{group__math__functions_ga5a93ca5d985c1ec389dc2e8155c50945}} 
\index{Math Functions@{Math Functions}!acos@{acos}}
\index{acos@{acos}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{acos()}{acos()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::acos (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the value in radians of the arc cosine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the cosine value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value in radians of the arc cosine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = acos(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga0838a098432c8e4c32193d7e0b5e2ec7}\label{group__math__functions_ga0838a098432c8e4c32193d7e0b5e2ec7}} 
\index{Math Functions@{Math Functions}!acos@{acos}}
\index{acos@{acos}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{acos()}{acos()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::acos (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the value in radians of the arc cosine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the cosine value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value in radians of the arc cosine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = acos(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga6b76bdc78639d9016533ba4e12889054}\label{group__math__functions_ga6b76bdc78639d9016533ba4e12889054}} 
\index{Math Functions@{Math Functions}!asin@{asin}}
\index{asin@{asin}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{asin()}{asin()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::asin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaef73d17beb9f264c4563d82a620ea4b2}\label{group__math__functions_gaef73d17beb9f264c4563d82a620ea4b2}} 
\index{Math Functions@{Math Functions}!asin@{asin}}
\index{asin@{asin}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{asin()}{asin()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::asin (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the value in radians of the arc sine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the sine value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value in radians of the arc sine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = asin(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gafca957e6c95406c4007756654864b23f}\label{group__math__functions_gafca957e6c95406c4007756654864b23f}} 
\index{Math Functions@{Math Functions}!asin@{asin}}
\index{asin@{asin}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{asin()}{asin()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::asin (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the value in radians of the arc sine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the sine value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value in radians of the arc sine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = asin(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga97fee9f84fea60610cb3cf2652b2ea79}\label{group__math__functions_ga97fee9f84fea60610cb3cf2652b2ea79}} 
\index{Math Functions@{Math Functions}!atan@{atan}}
\index{atan@{atan}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{atan()}{atan()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::atan (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga06455c71af5acd6092798bbd73a31d11}\label{group__math__functions_ga06455c71af5acd6092798bbd73a31d11}} 
\index{Math Functions@{Math Functions}!atan@{atan}}
\index{atan@{atan}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{atan()}{atan()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::atan (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the value in radians of the arc tangent of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the tangent value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value in radians of the arc tangent of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = atan(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga1d6cd800200357be2f5ed3ae148b3214}\label{group__math__functions_ga1d6cd800200357be2f5ed3ae148b3214}} 
\index{Math Functions@{Math Functions}!atan@{atan}}
\index{atan@{atan}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{atan()}{atan()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::atan (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the value in radians of the arc tangent of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the tangent value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value in radians of the arc tangent of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = atan(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gac371f42a2ccc6df4da19a12eed4af11b}\label{group__math__functions_gac371f42a2ccc6df4da19a12eed4af11b}} 
\index{Math Functions@{Math Functions}!atan2@{atan2}}
\index{atan2@{atan2}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{atan2()}{atan2()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::atan2 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaf0dd86d0443549ced1ce66216e52b5b9}\label{group__math__functions_gaf0dd86d0443549ced1ce66216e52b5b9}} 
\index{Math Functions@{Math Functions}!atan2@{atan2}}
\index{atan2@{atan2}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{atan2()}{atan2()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::atan2 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{y,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{x }\end{DoxyParamCaption})}



Returns the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em y} & the y value for the function \\
\hline
{\em x} & the x value for the function\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number f = atan2(y, x);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga433a4ef722e514683bc77c8cdc17cd76}\label{group__math__functions_ga433a4ef722e514683bc77c8cdc17cd76}} 
\index{Math Functions@{Math Functions}!atan2@{atan2}}
\index{atan2@{atan2}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{atan2()}{atan2()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::atan2 (\begin{DoxyParamCaption}\item[{softfloat}]{y,  }\item[{softfloat}]{x }\end{DoxyParamCaption})}



Returns the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em y} & the y value for the function \\
\hline
{\em x} & the x value for the function\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float f = atan2(y, x);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga6948548a7a38f3ab443cff2d685847cd}\label{group__math__functions_ga6948548a7a38f3ab443cff2d685847cd}} 
\index{Math Functions@{Math Functions}!cbrt@{cbrt}}
\index{cbrt@{cbrt}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cbrt()}{cbrt()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::cbrt (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga550385686c44893395a36b2c04aaaf05}\label{group__math__functions_ga550385686c44893395a36b2c04aaaf05}} 
\index{Math Functions@{Math Functions}!cbrt@{cbrt}}
\index{cbrt@{cbrt}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cbrt()}{cbrt()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::cbrt (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the cube root of the number passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the cube root of the number passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = cbrt(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga5f7caff04d815819e5c97d1456ad312b}\label{group__math__functions_ga5f7caff04d815819e5c97d1456ad312b}} 
\index{Math Functions@{Math Functions}!cbrt@{cbrt}}
\index{cbrt@{cbrt}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cbrt()}{cbrt()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::cbrt (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the cube root of the number passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the cube root of the number passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = cbrt(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaccf620735a9f2348f6fc1d7433d35ef2}\label{group__math__functions_gaccf620735a9f2348f6fc1d7433d35ef2}} 
\index{Math Functions@{Math Functions}!ceil@{ceil}}
\index{ceil@{ceil}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{ceil()}{ceil()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::ceil (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gab5e499c271ead1e1dfb44cec71a9254e}\label{group__math__functions_gab5e499c271ead1e1dfb44cec71a9254e}} 
\index{Math Functions@{Math Functions}!ceil@{ceil}}
\index{ceil@{ceil}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{ceil()}{ceil()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::ceil (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the smallest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is greater than or equal to {\bfseries{num}}. (Thus, for non-\/negative {\bfseries{prec}} just returns {\bfseries{num}}). 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & an integer number to process (to round upwards) \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{ceil( 64501, -\/2);  // returns 64600}
\DoxyCodeLine{ceil(-\/64999, -\/3);  // returns -\/64000}
\DoxyCodeLine{ceil( 34500, -\/8);  // returns 100000000}
\DoxyCodeLine{ceil(-\/34500, -\/8);  // returns 0}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__math__functions_gaef0b0eaa3ff1b0535cc4059e3afbdfb5}{floor}}(softint num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec = 0)
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_gabe108b64e9ff309137da23c1bcce548a}\label{group__math__functions_gabe108b64e9ff309137da23c1bcce548a}} 
\index{Math Functions@{Math Functions}!ceil@{ceil}}
\index{ceil@{ceil}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{ceil()}{ceil()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::ceil (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the smallest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is greater than or equal to {\bfseries{num}}. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & the number to process (to round upwards) \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{ceil(   357.271n, 2);  // returns 357.28n}
\DoxyCodeLine{ceil(  -\/357.271n, 1);  // returns -\/357.2n}
\DoxyCodeLine{ceil(-\/64599.28n, -\/2);  // returns -\/64500n}
\DoxyCodeLine{ceil( 14500n,    -\/4);  // returns 20000n}
\DoxyCodeLine{ceil( 34500.28n, -\/7);  // returns 10000000n}
\DoxyCodeLine{ceil(-\/34500.28n, -\/7);  // returns 0n}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__math__functions_gaef0b0eaa3ff1b0535cc4059e3afbdfb5}{floor}}(\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec = 0)
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_gaed04cba9a818c5dad33ffb2871ad87ac}\label{group__math__functions_gaed04cba9a818c5dad33ffb2871ad87ac}} 
\index{Math Functions@{Math Functions}!ceil@{ceil}}
\index{ceil@{ceil}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{ceil()}{ceil()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::ceil (\begin{DoxyParamCaption}\item[{softfloat}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the smallest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is greater than or equal to {\bfseries{num}}. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & the number to process (to round upwards) \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{ceil(   357.271, 2);  // returns 357.28}
\DoxyCodeLine{ceil(  -\/357.271, 1);  // returns -\/357.2}
\DoxyCodeLine{ceil(-\/64599.28, -\/2);  // returns -\/64500.0}
\DoxyCodeLine{ceil( 14500.28, -\/4);  // returns 20000.0}
\DoxyCodeLine{ceil( 34500.28, -\/7);  // returns 10000000.0}
\DoxyCodeLine{ceil(-\/34500.28, -\/7);  // returns 0.0}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__math__functions_gaef0b0eaa3ff1b0535cc4059e3afbdfb5}{floor}}(softfloat num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec = 0)
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_gadd0761e8ac44a20734c5f9e22f972535}\label{group__math__functions_gadd0761e8ac44a20734c5f9e22f972535}} 
\index{Math Functions@{Math Functions}!compare@{compare}}
\index{compare@{compare}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{compare()}{compare()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::compare (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}}}]{n1,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}}}]{n2,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}}}]{epsilon }\end{DoxyParamCaption})}



Compares numbers with a given epsilon. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n1} & the first number \\
\hline
{\em n2} & the second number \\
\hline
{\em epsilon} & the maximum difference in the numbers under which they are considered equal\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
-\/1 if {\itshape n1} is less then {\itshape n2}, 0 if the difference between the numbers is less than {\itshape epsilon}, 1 if {\itshape n1} is greater than {\itshape n2} 
\end{DoxyReturn}
\begin{DoxySince}{Since}
Qore 0.\+9.\+5 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_ga129fcfa5d3eb69023df68ab6d5ee0a08}\label{group__math__functions_ga129fcfa5d3eb69023df68ab6d5ee0a08}} 
\index{Math Functions@{Math Functions}!compare@{compare}}
\index{compare@{compare}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{compare()}{compare()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::compare (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n1,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n2,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{epsilon }\end{DoxyParamCaption})}



Compares numbers with a given epsilon. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n1} & the first number \\
\hline
{\em n2} & the second number \\
\hline
{\em epsilon} & the maximum difference in the numbers under which they are considered equal\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
-\/1 if {\itshape n1} is less then {\itshape n2}, 0 if the difference between the numbers is less than {\itshape epsilon}, 1 if {\itshape n1} is greater than {\itshape n2} 
\end{DoxyReturn}
\begin{DoxySince}{Since}
Qore 0.\+9.\+5 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_ga0850361c701d766865c53c9843816b35}\label{group__math__functions_ga0850361c701d766865c53c9843816b35}} 
\index{Math Functions@{Math Functions}!cos@{cos}}
\index{cos@{cos}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cos()}{cos()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::cos (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gad209f947ec323f3d4b510ba5f92be3e9}\label{group__math__functions_gad209f947ec323f3d4b510ba5f92be3e9}} 
\index{Math Functions@{Math Functions}!cos@{cos}}
\index{cos@{cos}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cos()}{cos()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::cos (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}}}]{f }\end{DoxyParamCaption})}



Returns the cosine of the number in radians passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the angle in radians\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the cosine of the number in radians passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = cos(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga186a9482dd5895b705a3beb96e082853}\label{group__math__functions_ga186a9482dd5895b705a3beb96e082853}} 
\index{Math Functions@{Math Functions}!cos@{cos}}
\index{cos@{cos}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cos()}{cos()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::cos (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the cosine of the number in radians passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the angle in radians\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the cosine of the number in radians passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = cos(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga1a61f3338662e5506b6136432b2ce151}\label{group__math__functions_ga1a61f3338662e5506b6136432b2ce151}} 
\index{Math Functions@{Math Functions}!cosh@{cosh}}
\index{cosh@{cosh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cosh()}{cosh()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::cosh (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga8c8d31cb7ed2a3049674fb466a28d5a7}\label{group__math__functions_ga8c8d31cb7ed2a3049674fb466a28d5a7}} 
\index{Math Functions@{Math Functions}!cosh@{cosh}}
\index{cosh@{cosh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cosh()}{cosh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::cosh (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the hyperbolic cosine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the hyperbolic cosine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = cosh(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gae19f38dfe1db9a2301e416a3856407c5}\label{group__math__functions_gae19f38dfe1db9a2301e416a3856407c5}} 
\index{Math Functions@{Math Functions}!cosh@{cosh}}
\index{cosh@{cosh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{cosh()}{cosh()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::cosh (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the hyperbolic cosine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the hyperbolic cosine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = cosh(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gacfec9a92f179668fb42789b58ecd4813}\label{group__math__functions_gacfec9a92f179668fb42789b58ecd4813}} 
\index{Math Functions@{Math Functions}!exp@{exp}}
\index{exp@{exp}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{exp()}{exp()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::exp (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gade650051a32f10bd32c11e43147f5c9f}\label{group__math__functions_gade650051a32f10bd32c11e43147f5c9f}} 
\index{Math Functions@{Math Functions}!exp@{exp}}
\index{exp@{exp}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{exp()}{exp()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::exp (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = exp(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaa0affdead63c65b21c00b58022b3e68c}\label{group__math__functions_gaa0affdead63c65b21c00b58022b3e68c}} 
\index{Math Functions@{Math Functions}!exp@{exp}}
\index{exp@{exp}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{exp()}{exp()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::exp (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = exp(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga4dcd9971318a4097503725feb6853adf}\label{group__math__functions_ga4dcd9971318a4097503725feb6853adf}} 
\index{Math Functions@{Math Functions}!exp2@{exp2}}
\index{exp2@{exp2}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{exp2()}{exp2()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::exp2 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaa74f9ab5d7202722ddfa833494b8964f}\label{group__math__functions_gaa74f9ab5d7202722ddfa833494b8964f}} 
\index{Math Functions@{Math Functions}!exp2@{exp2}}
\index{exp2@{exp2}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{exp2()}{exp2()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::exp2 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the value of 2 raised to the power of the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value of 2 raised to the power of the given number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = exp2(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gab945afacb9ebe698063c36f130583797}\label{group__math__functions_gab945afacb9ebe698063c36f130583797}} 
\index{Math Functions@{Math Functions}!exp2@{exp2}}
\index{exp2@{exp2}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{exp2()}{exp2()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::exp2 (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the value of 2 raised to the power of the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value of 2 raised to the power of the given number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = exp2(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga57e59f21e8fea30377359bb776dd1556}\label{group__math__functions_ga57e59f21e8fea30377359bb776dd1556}} 
\index{Math Functions@{Math Functions}!expm1@{expm1}}
\index{expm1@{expm1}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{expm1()}{expm1()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::expm1 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaddd772711a98adc77dab2d3fe44caa0e}\label{group__math__functions_gaddd772711a98adc77dab2d3fe44caa0e}} 
\index{Math Functions@{Math Functions}!expm1@{expm1}}
\index{expm1@{expm1}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{expm1()}{expm1()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::expm1 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number -\/ 1. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number -\/ 1
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = exp1m(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga1fcb0c3b334fca454e2f2a20a5b23465}\label{group__math__functions_ga1fcb0c3b334fca454e2f2a20a5b23465}} 
\index{Math Functions@{Math Functions}!expm1@{expm1}}
\index{expm1@{expm1}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{expm1()}{expm1()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::expm1 (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number -\/ 1. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value of {\itshape e} (the base of natural logarithms) raised to the power of the given number -\/ 1
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = exp1m(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga9ccdcd051934bf7cd5d74fc76da5e013}\label{group__math__functions_ga9ccdcd051934bf7cd5d74fc76da5e013}} 
\index{Math Functions@{Math Functions}!floor@{floor}}
\index{floor@{floor}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{floor()}{floor()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::floor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaef0b0eaa3ff1b0535cc4059e3afbdfb5}\label{group__math__functions_gaef0b0eaa3ff1b0535cc4059e3afbdfb5}} 
\index{Math Functions@{Math Functions}!floor@{floor}}
\index{floor@{floor}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{floor()}{floor()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::floor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the largest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is less than or equal to {\bfseries{num}}. (Thus, for non-\/negative {\bfseries{prec}} just returns {\bfseries{num}}). 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & an integer number to process (to round downwards) \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{floor(-\/64501, -\/2);  // returns -\/64600}
\DoxyCodeLine{floor( 64999, -\/3);  // returns 64000}
\DoxyCodeLine{floor(-\/34500, -\/8);  // returns -\/100000000}
\DoxyCodeLine{floor( 34500, -\/8);  // returns 0}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__math__functions_gab5e499c271ead1e1dfb44cec71a9254e}{ceil}}(softint num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec = 0)
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_gafaefa5a3af3bfc983dc61aeb7136808c}\label{group__math__functions_gafaefa5a3af3bfc983dc61aeb7136808c}} 
\index{Math Functions@{Math Functions}!floor@{floor}}
\index{floor@{floor}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{floor()}{floor()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::floor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the largest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is less than or equal to {\bfseries{num}}. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & the number to process (to round downwards) \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{floor(   357.271n, 2);  // returns 357.27n}
\DoxyCodeLine{floor(  -\/357.271n, 1);  // returns -\/357.3n}
\DoxyCodeLine{floor( 64599.28n, -\/2);  // returns 64500n}
\DoxyCodeLine{floor( 17500.28n, -\/4);  // returns 10000n}
\DoxyCodeLine{floor( 34500.28n, -\/7);  // returns 0n}
\DoxyCodeLine{floor(-\/34500.28n, -\/7);  // returns -\/10000000n}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__math__functions_gab5e499c271ead1e1dfb44cec71a9254e}{ceil}}(\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec = 0)
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_ga68f2e4488c79d193ecedcd8593d2790b}\label{group__math__functions_ga68f2e4488c79d193ecedcd8593d2790b}} 
\index{Math Functions@{Math Functions}!floor@{floor}}
\index{floor@{floor}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{floor()}{floor()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::floor (\begin{DoxyParamCaption}\item[{softfloat}]{f,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the largest multiple of {\bfseries{-\/prec}}-\/th power of 10 that is less than or equal to {\bfseries{num}}. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the number to process (to round downwards) \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{floor(   357.271, 2);  // returns 357.27}
\DoxyCodeLine{floor(  -\/357.271, 1);  // returns -\/357.3}
\DoxyCodeLine{floor( 64599.28, -\/2);  // returns 64500.0}
\DoxyCodeLine{floor( 17500.28, -\/4);  // returns 10000.0}
\DoxyCodeLine{floor( 34500.28, -\/7);  // returns 0.0}
\DoxyCodeLine{floor(-\/34500.28, -\/7);  // returns -\/10000000.0}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__math__functions_gab5e499c271ead1e1dfb44cec71a9254e}{ceil}}(softfloat num, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} prec = 0)
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_ga3bbf7515c71d0317f2d9808c770482fa}\label{group__math__functions_ga3bbf7515c71d0317f2d9808c770482fa}} 
\index{Math Functions@{Math Functions}!hypot@{hypot}}
\index{hypot@{hypot}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{hypot()}{hypot()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::hypot (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gac5c31652da041eff9ea16b3c2771286d}\label{group__math__functions_gac5c31652da041eff9ea16b3c2771286d}} 
\index{Math Functions@{Math Functions}!hypot@{hypot}}
\index{hypot@{hypot}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{hypot()}{hypot()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::hypot (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{x,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{y }\end{DoxyParamCaption})}



Returns the length of the hypotenuse of a right-\/angle triangle with sides given as the two arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em x} & the length of side x of the right-\/angle triangle \\
\hline
{\em y} & the length of side y of the right-\/angle triangle\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the length of the hypotenuse of a right-\/angle triangle with sides given as the two arguments
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number z = hypot(x, y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaf659ed610b825c471a6dbcdb49e3ff5e}\label{group__math__functions_gaf659ed610b825c471a6dbcdb49e3ff5e}} 
\index{Math Functions@{Math Functions}!hypot@{hypot}}
\index{hypot@{hypot}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{hypot()}{hypot()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::hypot (\begin{DoxyParamCaption}\item[{softfloat}]{x,  }\item[{softfloat}]{y }\end{DoxyParamCaption})}



Returns the length of the hypotenuse of a right-\/angle triangle with sides given as the two arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em x} & the length of side x of the right-\/angle triangle \\
\hline
{\em y} & the length of side y of the right-\/angle triangle\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the length of the hypotenuse of a right-\/angle triangle with sides given as the two arguments
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float z = hypot(x, y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga8c69b9687360cabd345fe651944d64b3}\label{group__math__functions_ga8c69b9687360cabd345fe651944d64b3}} 
\index{Math Functions@{Math Functions}!log10@{log10}}
\index{log10@{log10}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{log10()}{log10()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::log10 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga0b5ab474da3ffc109e7fd2e88054f558}\label{group__math__functions_ga0b5ab474da3ffc109e7fd2e88054f558}} 
\index{Math Functions@{Math Functions}!log10@{log10}}
\index{log10@{log10}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{log10()}{log10()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::log10 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the base 10 logarithm of the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the base 10 logarithm of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = log10(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga40e4696269395eca51826018ccb1005c}\label{group__math__functions_ga40e4696269395eca51826018ccb1005c}} 
\index{Math Functions@{Math Functions}!log10@{log10}}
\index{log10@{log10}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{log10()}{log10()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::log10 (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the base 10 logarithm of the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the base 10 logarithm of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = log10(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga764e8653af1f7486a5094e4f82076144}\label{group__math__functions_ga764e8653af1f7486a5094e4f82076144}} 
\index{Math Functions@{Math Functions}!log1p@{log1p}}
\index{log1p@{log1p}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{log1p()}{log1p()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::log1p (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga8dc307313dd965ae431e7b01d262f3a2}\label{group__math__functions_ga8dc307313dd965ae431e7b01d262f3a2}} 
\index{Math Functions@{Math Functions}!log1p@{log1p}}
\index{log1p@{log1p}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{log1p()}{log1p()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::log1p (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the natural logarithm of 1 + the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the natural logarithm of 1 + the given number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = log1p(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga08abc34cf4eed7f2988ad72e1d8a7efa}\label{group__math__functions_ga08abc34cf4eed7f2988ad72e1d8a7efa}} 
\index{Math Functions@{Math Functions}!log1p@{log1p}}
\index{log1p@{log1p}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{log1p()}{log1p()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::log1p (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the natural logarithm of 1 + the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the natural logarithm of 1 + the given number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = log1p(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga9c502205c686b8d4c6c0615098f2a79c}\label{group__math__functions_ga9c502205c686b8d4c6c0615098f2a79c}} 
\index{Math Functions@{Math Functions}!logb@{logb}}
\index{logb@{logb}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{logb()}{logb()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::logb (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga60aedc6483aae0b6a8995a0e66033917}\label{group__math__functions_ga60aedc6483aae0b6a8995a0e66033917}} 
\index{Math Functions@{Math Functions}!logb@{logb}}
\index{logb@{logb}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{logb()}{logb()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::logb (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the exponent of the given number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the exponent of the given number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = logb(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gab378250c1757fa872825a6390143f3c1}\label{group__math__functions_gab378250c1757fa872825a6390143f3c1}} 
\index{Math Functions@{Math Functions}!nlog@{nlog}}
\index{nlog@{nlog}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{nlog()}{nlog()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::nlog (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga0d0fa396dc4a1b684067c9b997d71124}\label{group__math__functions_ga0d0fa396dc4a1b684067c9b997d71124}} 
\index{Math Functions@{Math Functions}!nlog@{nlog}}
\index{nlog@{nlog}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{nlog()}{nlog()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::nlog (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the natural logarithm of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the natural logarithm of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = nlog(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaed1fad62e6b0652db6dee40136938be0}\label{group__math__functions_gaed1fad62e6b0652db6dee40136938be0}} 
\index{Math Functions@{Math Functions}!nlog@{nlog}}
\index{nlog@{nlog}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{nlog()}{nlog()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::nlog (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the natural logarithm of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the natural logarithm of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = nlog(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaf2588c28291e1350f74db63b3e4a0a1a}\label{group__math__functions_gaf2588c28291e1350f74db63b3e4a0a1a}} 
\index{Math Functions@{Math Functions}!pow@{pow}}
\index{pow@{pow}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{pow()}{pow()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::pow (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{x,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{y }\end{DoxyParamCaption})}



Returns a number raised to the power of another number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RET_VALUE_ONLY}{RET\+\_\+\+VALUE\+\_\+\+ONLY}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em x} & the number to raise to the power of {\itshape y} \\
\hline
{\em y} & the power to raise {\itshape x} to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a number raised to the power of another number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number z = pow(x, y);}

\end{DoxyCode}

\end{DoxyParagraph}

\begin{DoxyExceptions}{Exceptions}
{\em DIVISION-\/\+BY-\/\+ZERO} & in pow(x, y), if x = 0 then y must be a non-\/negative value \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__math__functions_ga17c670477842b817de5b3cf8564069cb}\label{group__math__functions_ga17c670477842b817de5b3cf8564069cb}} 
\index{Math Functions@{Math Functions}!pow@{pow}}
\index{pow@{pow}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{pow()}{pow()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::pow (\begin{DoxyParamCaption}\item[{softfloat}]{x = {\ttfamily 0.0},  }\item[{softfloat}]{y = {\ttfamily 0.0} }\end{DoxyParamCaption})}



Returns a number raised to the power of another number. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RET_VALUE_ONLY}{RET\+\_\+\+VALUE\+\_\+\+ONLY}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em x} & the number to raise to the power of {\itshape y} \\
\hline
{\em y} & the power to raise {\itshape x} to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a number raised to the power of another number
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float z = pow(x, y);}

\end{DoxyCode}

\end{DoxyParagraph}

\begin{DoxyExceptions}{Exceptions}
{\em DIVISION-\/\+BY-\/\+ZERO} & in pow(x, y), if x = 0 then y must be a non-\/negative value \\
\hline
{\em INVALID-\/\+POW-\/\+ARGUMENTS} & in pow(x, y), x cannot be negative when y is not an integer value \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__math__functions_gae6425e4d03545022532cb545b6d8f8d9}\label{group__math__functions_gae6425e4d03545022532cb545b6d8f8d9}} 
\index{Math Functions@{Math Functions}!round@{round}}
\index{round@{round}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{round()}{round()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::round (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gacb2148d883c639ff7f0bf638529d12e7}\label{group__math__functions_gacb2148d883c639ff7f0bf638529d12e7}} 
\index{Math Functions@{Math Functions}!round@{round}}
\index{round@{round}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{round()}{round()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::round (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the multiple of {\bfseries{-\/prec}}-\/th power of 10 that is closest to {\bfseries{num}} (numbers halfway between two such powers of 10 are rounded away from zero). 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & a number to round \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{round( 645084.36481772n,  5);  // returns  645084.36482n}
\DoxyCodeLine{round(-\/645084.36481772n,  3);  // returns -\/645084.365n}
\DoxyCodeLine{round( 645084.36481772n, -\/4);  // returns  650000n}
\DoxyCodeLine{round(-\/645084.36481772n, -\/5);  // returns -\/600000n}
\DoxyCodeLine{round( 645084.36481772n, -\/6);  // returns 1000000n}
\DoxyCodeLine{round(-\/645084.36481772n, -\/7);  // returns       0n}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_ga58bb01191dc2e4d100e2441e16efffc4}\label{group__math__functions_ga58bb01191dc2e4d100e2441e16efffc4}} 
\index{Math Functions@{Math Functions}!round@{round}}
\index{round@{round}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{round()}{round()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::round (\begin{DoxyParamCaption}\item[{softfloat}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the multiple of {\bfseries{-\/prec}}-\/th power of 10 that is closest to {\bfseries{num}} (numbers halfway between two such powers of 10 are rounded away from zero). 

\begin{DoxyParagraph}{Platform Availability}
\mbox{\hyperlink{group__option__constants_ga97aca0d9c20308bd2d79f61c284f7772}{Qore\+::\+Option\+::\+HAVE\+\_\+\+ROUND}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & a number to round \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{round( 6450.36481,  3);  // returns  6450.365}
\DoxyCodeLine{round(-\/6450.36481,  2);  // returns -\/6450.36}
\DoxyCodeLine{round( 6450.36481, -\/2);  // returns  6500.0}
\DoxyCodeLine{round(-\/6450.36481, -\/3);  // returns -\/6000.0}
\DoxyCodeLine{round( 6450.36481, -\/4);  // returns 10000.0}
\DoxyCodeLine{round(-\/6450.36481, -\/5);  // returns     0.0}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_ga99beb41177f06433ce9dda9fcfd07ec7}\label{group__math__functions_ga99beb41177f06433ce9dda9fcfd07ec7}} 
\index{Math Functions@{Math Functions}!round@{round}}
\index{round@{round}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{round()}{round()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::round (\begin{DoxyParamCaption}\item[{softint}]{num,  }\item[{\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}}]{prec = {\ttfamily 0} }\end{DoxyParamCaption})}



Returns the multiple of {\bfseries{-\/prec}}-\/th power of 10 that is closest to {\bfseries{num}} (numbers halfway between two such powers of 10 are rounded away from zero). (So, for non-\/negative {\bfseries{prec}} just returns {\bfseries{num}}). 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em num} & an integer number to round \\
\hline
{\em prec} & precision\\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{round(-\/6450, -\/2);  // returns  -\/6500}
\DoxyCodeLine{round( 6450, -\/3);  // returns   6000}
\DoxyCodeLine{round(-\/6450, -\/4);  // returns -\/10000}
\DoxyCodeLine{round( 6450, -\/5);  // returns      0}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+13 this function accepts the {\bfseries{prec}} argument to specify the rounding precision 
\end{DoxySince}
\mbox{\Hypertarget{group__math__functions_gab31f5ce089c6688322f724d8780f7f70}\label{group__math__functions_gab31f5ce089c6688322f724d8780f7f70}} 
\index{Math Functions@{Math Functions}!sin@{sin}}
\index{sin@{sin}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sin()}{sin()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::sin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gad00ce3afad2d4bd3801b62ed29075025}\label{group__math__functions_gad00ce3afad2d4bd3801b62ed29075025}} 
\index{Math Functions@{Math Functions}!sin@{sin}}
\index{sin@{sin}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sin()}{sin()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::sin (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the sine of the number in radians passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the angle in radians\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the sine of the number in radians passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = sin(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga107498f74b38f1d78d61bd9a6a548de0}\label{group__math__functions_ga107498f74b38f1d78d61bd9a6a548de0}} 
\index{Math Functions@{Math Functions}!sin@{sin}}
\index{sin@{sin}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sin()}{sin()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::sin (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the sine of the number in radians passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the angle in radians\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the sine of the number in radians passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = sin(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga6aefc0c0ac853d4cfcf5e572897599f6}\label{group__math__functions_ga6aefc0c0ac853d4cfcf5e572897599f6}} 
\index{Math Functions@{Math Functions}!sinh@{sinh}}
\index{sinh@{sinh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sinh()}{sinh()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::sinh (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gac9aa03003b422b8be260d6f619920bf9}\label{group__math__functions_gac9aa03003b422b8be260d6f619920bf9}} 
\index{Math Functions@{Math Functions}!sinh@{sinh}}
\index{sinh@{sinh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sinh()}{sinh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::sinh (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the hyperbolic sine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the hyperbolic sine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = sinh(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaf28e116cbae881b4fa41cefe14cc3214}\label{group__math__functions_gaf28e116cbae881b4fa41cefe14cc3214}} 
\index{Math Functions@{Math Functions}!sinh@{sinh}}
\index{sinh@{sinh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sinh()}{sinh()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::sinh (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the hyperbolic sine of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the hyperbolic sine of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = sinh(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga8873e17f305c9f756e2dee5c315a3776}\label{group__math__functions_ga8873e17f305c9f756e2dee5c315a3776}} 
\index{Math Functions@{Math Functions}!sqrt@{sqrt}}
\index{sqrt@{sqrt}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sqrt()}{sqrt()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::sqrt (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga2f134b5b4d98b70d72f9c94f3b95d4cc}\label{group__math__functions_ga2f134b5b4d98b70d72f9c94f3b95d4cc}} 
\index{Math Functions@{Math Functions}!sqrt@{sqrt}}
\index{sqrt@{sqrt}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sqrt()}{sqrt()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::sqrt (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the square root of the number passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the square root of the number passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = sqrt(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gaefc4acbd9b9a216d3cbcdd280e7ab180}\label{group__math__functions_gaefc4acbd9b9a216d3cbcdd280e7ab180}} 
\index{Math Functions@{Math Functions}!sqrt@{sqrt}}
\index{sqrt@{sqrt}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{sqrt()}{sqrt()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::sqrt (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the square root of the number passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the square root of the number passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = sqrt(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga45cc206908aba7948ffe6c6ee4f74129}\label{group__math__functions_ga45cc206908aba7948ffe6c6ee4f74129}} 
\index{Math Functions@{Math Functions}!tan@{tan}}
\index{tan@{tan}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{tan()}{tan()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::tan (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga8a3cbd27664790d4ce0fc1fedc8b7c44}\label{group__math__functions_ga8a3cbd27664790d4ce0fc1fedc8b7c44}} 
\index{Math Functions@{Math Functions}!tan@{tan}}
\index{tan@{tan}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{tan()}{tan()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::tan (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the tangent of the number in radians passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the angle in radians\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the tangent of the number in radians passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = tan(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gac1f61216ee1f25b70d5155fd2d9a459c}\label{group__math__functions_gac1f61216ee1f25b70d5155fd2d9a459c}} 
\index{Math Functions@{Math Functions}!tan@{tan}}
\index{tan@{tan}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{tan()}{tan()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::tan (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the tangent of the number in radians passed. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the angle in radians\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the tangent of the number in radians passed
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = tan(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga7c3ad79861038ae30568b6543e51af93}\label{group__math__functions_ga7c3ad79861038ae30568b6543e51af93}} 
\index{Math Functions@{Math Functions}!tanh@{tanh}}
\index{tanh@{tanh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{tanh()}{tanh()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::tanh (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RUNTIME_NOOP}{RUNTIME\+\_\+\+NOOP}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_ga643397eb8e9ed9003e97ad3080f098a6}\label{group__math__functions_ga643397eb8e9ed9003e97ad3080f098a6}} 
\index{Math Functions@{Math Functions}!tanh@{tanh}}
\index{tanh@{tanh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{tanh()}{tanh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}} Qore\+::tanh (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gaf6000d64e3fe99ce81b9faaf44b2de4e}{number}}}]{n }\end{DoxyParamCaption})}



Returns the hyperbolic tangent of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em n} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the hyperbolic tangent of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{number x = tanh(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__math__functions_gacfa354769ae75f003aae7a7fd89b93f7}\label{group__math__functions_gacfa354769ae75f003aae7a7fd89b93f7}} 
\index{Math Functions@{Math Functions}!tanh@{tanh}}
\index{tanh@{tanh}!Math Functions@{Math Functions}}
\doxysubsubsection{\texorpdfstring{tanh()}{tanh()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga113d18216af1bdb70545081b6a9892ef}{float}} Qore\+::tanh (\begin{DoxyParamCaption}\item[{softfloat}]{f }\end{DoxyParamCaption})}



Returns the hyperbolic tangent of the given value. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em f} & the value to process\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the hyperbolic tangent of the given value
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{float x = tanh(y);}

\end{DoxyCode}
 
\end{DoxyParagraph}
