FAQ
Yep, that's a bug. See https://github.com/golang/go/issues/13907

Il giorno lunedì 11 gennaio 2016 18:03:41 UTC+1, Yury Smolsky ha scritto:
Hello, all.


Can somebody help me to understand if I have encountered a bug in math/big
library or not?


http://play.golang.org/p/QVWwgKMdCu
I expect the result to be equal zero, but I see it equal M.


It happens only for when x, y are really big.


I am on:

go version go1.5.1 darwin/amd64

*OS X 10.9.5: *Darwin t2.local 13.4.0 Darwin Kernel Version 13.4.0: Wed
Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJan 11, '16 at 5:03p
activeJan 12, '16 at 1:23p
posts5
users5
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase