golang doc for Package fmt Floating-point and complex constituents says:
Floating-point and complex constituents:
%b decimalless scientific notation with exponent a power of two, in the manner of strconv.FormatFloat with the 'b' format, e.g. -123456p-78
and my test:
fmt.Printf("%b\n", 1.0) the result:
4503599627370496p-52
what is it? your guess is mine!
so test this:
fmt.Printf("0b%b\n", 255) //0b11111111 it is ok. so i think this is interesting and informative to share.