Module morton_encoding::arbitrary_bit_size [−][src]
The most general, but least performant, ways to perform Morton encoding and decoding. The functions contained herein work correctly, but the author makes absolutely no guarantees about how performant they are.
Functions
bloat_custom_biguint | “Bloats” a given number to an arbitrarily large BigUint. |
morton_decode_biguint | Receives a |
morton_encode_biguint | Receives an iterator of |
shrink_custom_biguint | “Shrinks” a given number from an arbitrarily large BigUint. |
tobuint | A convenience function for converting primitive values to BigUints. Will fail to compile if called with a literal that’s not explicitly declared as unsigned. |