module StumpyCore::Utils

Defined in:

stumpy_core/utils.cr

Class Method Summary

Class Method Detail

def self.scale_from_to(input, from, to) #

Helper method, scale a value input from from bits resolution to to bits resolution.


[View source]
def self.scale_up(input, from) #

Helper method, scale a value input from from bits resolution to 16 bits.


[View source]