MCPcopy Create free account
hub / github.com/Logicalshift/flowbetween / squish_float

Function squish_float

attic/float_encoder/src/encode.rs:13–37  ·  view source on GitHub ↗

Writes a squished float to the specified stream Floats are stored relative to their previous value. Any 'initial' value can be chosen (provided it's re-used when de-squishing). 0.0 will work well.

(target: &mut Target, last: f64, next: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

write_next_f64Method · 0.85
write_raw_pointsFunction · 0.85
can_encode_sequenceFunction · 0.85
can_decode_zeroFunction · 0.85
can_decode_128Function · 0.85
can_decode_big_valueFunction · 0.85
can_decode_127Function · 0.85
can_decode_minus_127Function · 0.85
can_decode_126Function · 0.85
can_decode_minus_126Function · 0.85

Calls

no outgoing calls

Tested by 15

can_encode_sequenceFunction · 0.68
can_decode_zeroFunction · 0.68
can_decode_128Function · 0.68
can_decode_big_valueFunction · 0.68
can_decode_127Function · 0.68
can_decode_minus_127Function · 0.68
can_decode_126Function · 0.68
can_decode_minus_126Function · 0.68
can_decode_sequenceFunction · 0.68
can_decode_nanFunction · 0.68