snex functionality frexp()?

Anyone know of a way to add/clone the frexpf function for snex?
(Which is a singleprecision version of frexp)
I tried to translate this script http://locutus.io/c/math/frexp/
But it seems there is no Math.log2 or Math.LOG2E.
Is there a way to add this function (frexp) to snex?

@giftlift no but there's a simple
Math.log
so you can deduce the log2 this way:log2(y) = log(y) / log(2)

@ustk thanks! I'll try that