Tensor.significant_bits: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor.bend as Tensor Lines 72-76 of stelliferous@0.0.2.0/tensor.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor.bend&start_line=72&end_line=76 import Base import stelliferous@0.0.2.0/storage_buffer.bend as Storage # Bits of value, counted by tail recursion. Storage.bit_length is not tail # recursive, and a non-tail recursive callee turns the calling chain into # worklist dispatch: measured allocation of 2^20 floats took twice as long. def significant_bits(remaining: Nat,+value: U32,+bits: Nat,zero: Bool) -> Nat: Storage.significant_bits(remaining,value,bits,zero) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/storage_buffer.bend&name=significant_bits