func Bdiv(a, b *big.Int) *big.Int {
	if b.Cmp(big.NewInt(0)) == 0 {
		return big.NewInt(0)
	}
	c0 := new(big.Int).Mul(a, BONE())
	c1 := new(big.Int).Add(
		c0,
		new(big.Int).Div(b, big.NewInt(2)),
	)
	return new(big.Int).Div(c1, b)
}
// Bdiv ...
// TODO(bonedaddy): right now we check for division by 0 and return 0 however this may not be good
Bdiv
TODO(bonedaddy): right now we check for division by 0 and return 0 however this may not be good
// Bdiv ... // TODO ( bonedaddy ) : right now we check for division by 0 and return 0 however this may not be good
func Bdiv(a, b *big.Int) *big.Int {
	if b.Cmp(big.NewInt(0)) == 0 {
		return big.NewInt(0)
	}
	c0 := new(big.Int).Mul(a, BONE())
	c1 := new(big.Int).Add(
		c0,
		new(big.Int).Div(b, big.NewInt(2)),
	)
	return new(big.Int).Div(c1, b)
}
func Bdiv ( a , b * big . Int ) * big . Int { if b . Cmp ( big . NewInt ( 0 ) ) == 0 { return big . NewInt ( 0 ) } c0 := new ( big . Int ) . Mul ( a , BONE ( ) ) c1 := new ( big . Int ) . Add ( c0 , new ( big . Int ) . Div ( b , big . NewInt ( 2 ) ) , ) return new ( big . Int ) . Div ( c1 , b ) }
Bdiv
TODO(bonedaddy): right now we check for division by 0 and return 0 however this may not be good
Bdiv TODO ( bonedaddy ) : right now we check for division by 0 and return 0 however this may not be good