GE Lua Documentation

Press F to search!

frexp

Definition


-- @/=[C]:-1
function frexp(...)

Callers

@/lua/common/libs/lua-MessagePack/MessagePack.lua
packers['number'] = function(n)
  local mant, expo = frexp(abs(n))
  if mant ~= mant then
@/lua/vehicle/extensions/tech/CANBus/CANBusPeak.lua
  -- returns a table of bits, most significant first.
  bits = bits or max(1, select(2, frexp(num)))
  local t = {} -- will contain the bits
@/lua/vehicle/extensions/tech/LINBus/LINBusPeak.lua
  -- returns a table of bits, most significant first.
  bits = bits or max(1, select(2, frexp(num)))
  local t = {} -- will contain the bits