Thank you Brain Candler, this was probably thing that I missed: that math.Sqrt2 is converted according to the context and I didn't think what context fmt.Println gave it.
sob., 1 maj 2021 o 20:20 Brian Candler <b.cand...@pobox.com> napisaĆ(a): > Remember that while a constant may have unlimited precision, when you call > fmt.Println() then it will get converted to a float64 value to be passed as > an argument. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/q7StlcjMiII/unsubscribe. > To unsubscribe from this group and all its topics, 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/30631b42-eb7b-43b6-891a-e9fa58a48038n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/30631b42-eb7b-43b6-891a-e9fa58a48038n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAB3gO8pme2_Nxu1b20GD1EqzHunSJM4qSJdu9wqd0gJ1oZBZ9g%40mail.gmail.com.