Hello, I am using strconv.FormatFloat[1] and strconv.ParseFloat[2]to convert float32s back-and-forth in a library I am working on. In my tests I decided to test all formats for FormatFloat ('b', 'e', 'E', 'f', 'g', 'G', 'x', 'X'). However, it seems like the 'b' format is not supported by ParseFloat (see [3]).
Is this correct? Is my code showing this correct?[3] If Yes, is there some reason why the one format ('b') is not supported by ParseFloat? My question is more one driven by curiosity rather than a need for this format. It was a surprise to me that one of the formats generated by the complement function in the same module was not supported. Thanks, Glen [1]https://pkg.go.dev/strconv#FormatFloat [2]https://pkg.go.dev/strconv#ParseFloat [3]https://go.dev/play/p/b_GbyG_CFo6 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/cd22042a-cd35-484b-af86-9f3d6f918376n%40googlegroups.com.