tisonkun commented on PR #23:
URL: https://github.com/apache/datasketches-rust/pull/23#issuecomment-3659797022

   > Is there any way we can have a TDigest<T: num::Float>? I think in some 
cases having less precision for half of the memory is desirable.
   
   Possible. The tricky part is around overflow/underflow during computation 
and serde. 
   
   And the more tricky part is that it's not only about the value, but also the 
weight (u64 for f64, u32 for f32). But I'm considering why not just use f64/f32 
for weight - we're now often casting weight to f64 and while representing u64 
as f64 is lossless.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to