common.bi | |
License | Copyright © 2009, FreeBASIC Extended Library Development Group |
ext.math | Contains mathematical constants, functions and types |
Constants and Macros | |
FBEXT_EPSILON | |
FBEXT_FLOAT_EQUAL | Compares two floating-point values for equality. |
FBEXT_FLOAT_NOTEQUAL | Compares two floating-point values for inequality. |
pi | |
inv_pi | |
pi2 | |
pi_2 | |
pi_180 | |
inv_pi_180 | |
inv_sqr_2pi | |
three_div_pi2 | |
euler | |
arctan_1div2 | The arc-tangent of 1 / 2 |
berstein | |
cos1 | cosine(1) |
cube_root_3 | |
inv_log2 | 1 / log(2) |
e | |
Y | |
feigenbaum_reduction | |
feigenbaum_bifurcation | |
fransen_robinson | |
gamma | |
gauss_kuzmin_wirsing | |
golomb | |
khinchin | |
lehmer | |
FBEXT_ANGLE_TO_RADIAN | Converts an Angle to Radians. |
FBEXT_RADIAN_TO_ANGLE | Converts a Radian to an Angle. |
Copyright © 2009, FreeBASIC Extended Library Development Group
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License
Contains mathematical constants, functions and types
Constants and Macros | |
FBEXT_EPSILON | |
FBEXT_FLOAT_EQUAL | Compares two floating-point values for equality. |
FBEXT_FLOAT_NOTEQUAL | Compares two floating-point values for inequality. |
pi | |
inv_pi | |
pi2 | |
pi_2 | |
pi_180 | |
inv_pi_180 | |
inv_sqr_2pi | |
three_div_pi2 | |
euler | |
arctan_1div2 | The arc-tangent of 1 / 2 |
berstein | |
cos1 | cosine(1) |
cube_root_3 | |
inv_log2 | 1 / log(2) |
e | |
Y | |
feigenbaum_reduction | |
feigenbaum_bifurcation | |
fransen_robinson | |
gamma | |
gauss_kuzmin_wirsing | |
golomb | |
khinchin | |
lehmer | |
FBEXT_ANGLE_TO_RADIAN | Converts an Angle to Radians. |
FBEXT_RADIAN_TO_ANGLE | Converts a Radian to an Angle. |
Compares two floating-point values for inequality.
# define FBEXT_FLOAT_NOTEQUAL( a, b ) (not FBEXT_FLOAT_EQUAL(a, b))
const pi as double = 3.1415926535897932
const inv_pi as double = 1 / pi
const pi2 as double = pi * 2
const pi_2 as double = pi / 2
const pi_180 as double = pi / 180.0
const inv_pi_180 as double = 1 / pi_180
const inv_sqr_2pi as double = 0.39894228040143267
const three_div_pi2 as double = 0.303963550927013
const euler as double = 0.333177923807718674318
The arc-tangent of 1 / 2
const arctan_1div2 as double = 0.4636476090008061
const berstein as double = 0.2801694990238691330364
cosine(1)
const cos1 as double = 0.5403023058681397174
const cube_root_3 as double = 1.442249570307408382321
1 / log(2)
const inv_log2 as double = 1.442695040888963
const e as double = 2.718281828459045
const Y as double = 0.577215664901532
const feigenbaum_reduction as double = 2.50290787509589282228
const feigenbaum_bifurcation as double = 4.66920160910299067185
const fransen_robinson as double = 2.8077702420285
const gamma as double = 0.577215664901532860606
const gauss_kuzmin_wirsing as double = 0.303663002898732
const golomb as double = 0.6243299885435508
const khinchin as double = 2.685452001065306
const lehmer as double = .5926327182016361971040
Converts an Angle to Radians.
#define FBEXT_ANGLE_TO_RADIAN( x ) (x) * pi_180
Converts a Radian to an Angle.
#define FBEXT_RADIAN_TO_ANGLE( x ) (x) * inv_pi_180