Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 715 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 715 Bytes

Function Library

functions.bmx

Function Adler32_Checksum:Int( data:String ) Implementation of the Adler-32 algorithm https://en.wikipedia.org/wiki/Adler-32

Returns a 32 bit integer containing a checksum for the supplied data

Function emod:Int( dividend:Int, divisor:Int ) C Compatible emod function

Function isEven:Int( x:Int ) Identify if the given value is Even (or Odd)

Function isOdd:Int( x:Int ) Identify if the given value is Odd (or Even)

time.bmx

Function MicroSecs:Long() Current time in Microseconds (1/1000 millisecond)

Function Milli:Double() Current time in Milliseconds with a Nanosecond definition (1/1000000 millisecond)