vector magnitude function
declare function magnitude() as single
vector magnitude function
declare function magnitude() as single
vector magnitude function
declare function magnitude() as single
declare const function Magnitude ( ) as double
declare const function Magnitude ( ) as double
The major (0.x.x) version of the library.
const FBEXT_MAJOR_VERSION = 0
Maximum allowed value in a Byte type.
const FBEXT_MAX_BYTE as byte = ( (2^(sizeof(byte)*8))/2 )-1
const MAX_FACTORIAL = 256#
Maximum allowed value in a Integer type.
const as integer FBEXT_MAX_INTEGER = ( (2^(sizeof(integer)*8))/2 )-1
Maximum allowed value in a Long type.
const as long FBEXT_MAX_LONG = ( (2^(sizeof(long)*8))/2 )-1
Maxmimum allowed value in a LongInt type.
const as longint FBEXT_MAX_LONGINT = ( (2^(sizeof(longint)*8))/2 )-1
Maximum allowed value in a Short type.
const as short FBEXT_MAX_SHORT = ( (2^(sizeof(short)*8))/2 )-1
Maximum allowed value in a UByte type.
const as ubyte FBEXT_MAX_UBYTE = ( 2^(sizeof(ubyte)*8) )-1
Maximum allowed value in a UInteger type.
const as uinteger FBEXT_MAX_UINTEGER = ( 2^(sizeof(uinteger)*8) )-1
Maximum allowed value in a ULong type.
const as ulong FBEXT_MAX_ULONG = ( 2^(sizeof(ulong)*8) )-1
Maximum allowed value in a ULongInt type.
const as ulongint FBEXT_MAX_ULONGINT = 2^( sizeof(ulongint)*8 )-1
Maximum allowed value in a UShort type.
const as ushort FBEXT_MAX_USHORT = ( 2^(sizeof(ushort)*8) )-1
Finds the first element in the range [//first//, //last//) with the maximum value.
declare function MaxElement overload ( byval first as fbext_TypeName(T_) ptr, byval last as fbext_TypeName(T_) ptr ) as fbext_TypeName(T_) ptr
Performs an in-object text replace
declare sub Mid ( byref text as const string, byval start as integer, byval length as integer )
Minimum allowed value in a Byte type.
const FBEXT_MIN_BYTE as byte = -( (2^(sizeof(byte)*8))/2 )
Minimum allowed value in a Integer type.
const as integer FBEXT_MIN_INTEGER = -( (2^(sizeof(integer)*8))/2 )
Minimum allowed value in a Long type.
const as long FBEXT_MIN_LONG = -( (2^(sizeof(long)*8))/2 )
Minimum allowed value in a LongInt type.
const as longint FBEXT_MIN_LONGINT = -( (2^(sizeof(longint)*8))/2 )
Minimum allowed value in a Short type.
const as short FBEXT_MIN_SHORT = -( (2^(sizeof(short)*8))/2 )
Minimum allowed value in a UByte type.
const as ubyte FBEXT_MIN_UBYTE = 0
Minimum allowed value in a UInteger type.
const as uinteger FBEXT_MIN_UINTEGER = 0
Minimum allowed value in a ULong type.
const as ulong FBEXT_MIN_ULONG = 0
Minimum allowed value in a ULongInt type.
const as ulongint FBEXT_MIN_ULONGINT = 0
Minimum allowed value in a UShort type.
const as ushort FBEXT_MIN_USHORT = 0
Returns a pointer to the element in a range with the minimum value.
declare function MinElement overload ( byval first as fbext_TypeName(T_) ptr, byval last as fbext_TypeName(T_) ptr ) as fbext_TypeName(T_) ptr
The minor (x.0.x) version of the library.
const FBEXT_MINOR_VERSION = 3
Multiplies two numbers together.
# define fbextPP_Mul( lhs, rhs ) FBEXT_PP_REPEAT(FBEXT_PP_DEC(rhs), fbextPP_Mul__L, __) lhs FBEXT_PP_REPEAT(FBEXT_PP_DEC(rhs), fbextPP_Mul__R, lhs)
Finds the number of combinations of a sub-set of elements of a set.
declare function nCr ( byval n as ulongint, byval r as ulongint ) as ulongint
Returns a pointer to a DatabaseDriver populated to allow access to a MySQL database.
declare function newMySQLDriver() as DatabaseDriver ptr
Returns a pointer to a DatabaseDriver populated to allow access to a SQLite3 database.
declare function newSQLite3Driver() as DatabaseDriver ptr
Finds the next power of 2 after a number.
declare function NextPow2 overload ( byval ds as fbext_TypeName(NumericType_) ) as fbext_TypeName(NumericType_)
Access the type of the node.
declare function nodeType() as node_type_e
declare const function Normal ( ) as fbext_Vector2(( T_))
declare const function Normal ( ) as fbext_Vector3(( T_))
normalizes “this” vector
declare sub normalize()
normalizes “this” vector
declare sub normalize()
normalizes “this” vector
declare sub normalize()
declare sub Normalize ( )
declare sub Normalize ( )
expands to `1` if a and b do not compare equal, otherwise it expands to `0`.
# define fbextPP_NotEqual( a, b ) fbextPP_Not(fbextPP_Equal(a, b))
is deprecated, use fbextPP_NotEqual instead.
# define FBEXT_PP_NOTEQUAL( a, b ) fbextPP_NotEqual(a, b)
Finds the number of permutations of a sub-set of elements of a set.
declare function nPr ( byval n as ulongint, byval r as ulongint ) as ulongint
Constant definition of null
const null = cast( any ptr, )
Returns the number of columns in the result set.
declare function numColumns( ) as integer
A preprocessor sequence of numeric types.
# define fbext_NumericTypes( ) fbext_IntegralTypes() fbext_FloatTypes()