with this macro I copied from here rewritten so it works in a loop/iteration 1:64
macro make_rawbit(idx)
fn = Symbol(string("rawbit",idx))
quote
function $(esc(fn))(x::Float64)
rawbit(x, $idx)
end
end
end
or just written 64 times
@make_rawbit(i) where i=1:64
rawbits = (rawbit1, rawbit2, .., rawbit64)
rawbits[kthbit](targetfloat64)
rawbits[kthbit](targetfloat64)
compiles as rawbitk(targetfloat64)