UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

20 lines 580 B
/** * Bin sizes follow floating point (exponent + mantissa) distribution (piecewise linear log approx) * This ensures that for each size class, the average overhead percentage stays the same * @param {number} size * @returns {number} uint32 */ export function uintToFloatRoundUp(size: number): number; /** * * @param {number} size * @return {number} */ export function uintToFloatRoundDown(size: number): number; /** * * @param {number} floatValue * @return {number} */ export function floatToUint(floatValue: number): number; //# sourceMappingURL=SmallFloat.d.ts.map