A way to configure what a division by zero outputs
I mean some people think it should throw an exception,
Some people think it should be one
Others zero
Maybe an exception by default unless a second argument is specified for the division method, in that case return the second argument
A way to configure what a division by zero outputs
I mean some people think it should throw an exception,
Some people think it should be one
Others zero
Maybe an exception by default unless a second argument is specified for the division method, in that case return the second argument
Good luck with your library
one? I saw post where they showed that zero is sound option, but first time I hear about one.