Open kagamiori opened 3 weeks ago
Difference between these 2 values are well below machine epsilon, why we are not comparing it with delta?
Difference between these 2 values are well below machine epsilon, why we are not comparing it with delta?
@Yuhta This small difference is magnified when the result of inverse_beta_cdf is called in other functions. E.g.,
Query: select abs(power(ceiling(inverse_beta_cdf(0.0085697465364049, c0, 0.013200567975753)), log2(DOUBLE '0.08720093965530396'))) from (values 0.8864628029987216) t(c0);
Presto-0.289: Returns Infinity Velox: Returns 1.0
Both solutions look good to me, I don't see anything wrong here
Description
Query: select inverse_beta_cdf(0.0085697465364049, c0, 0.013200567975753) from (values 0.8864628029987216) t(c0); Presto-0.289: Returns 0 Velox: Returns 6.03651352807685E-220
Error Reproduction
No response
Relevant logs
No response