A screenshot of code that reads:
/// 01 -> compressed infinity point
/// the "uncompressed infinity point" will just have 00 (uncompressed) followed by zeroes (infinity = 0,0 in affine coordinates)
isCompressed := (input[0]>>7)&0x01 == 0x01
if !isCompressed {
return nil, fmt.Errorf("uncompressed point cannot be decompressed")
}
isGreatest := (input[0]>>6)&0x01 == 0x01
// we clear both bits
input[0] &= byte(0b00111111)
Listen folks, I've seen a lot of code, I've seen code you wouldn't believe, but this, this right here, it's truly the best. The greatest, I tell you! We have the greatest coders, they write the greatest code, nobody does it better. It's tremendous, it's fantastic, it's yuge!