Skip to main content

LOG_NEG_TD

Static LOG_NEG_TD 

Source
pub(crate) static LOG_NEG_TD: [(u64, u64, u64); 182]
Expand description

Generated by Sage: from POW_INV

R = RealField(150)
def hex_to_float(h):
    return struct.unpack('>d', struct.pack('>Q', h))[0]

# Convert each hex value to RealField
real_array = [R(hex_to_float(h)) for h in values]

# Show results
for r in real_array:
    print_triple_double("", -RealField(180)(r).log())