Due to the way floating-point equality works, this instance is not
lawful under equality, but is correct when taken as an
approximation of an exact value.
If you would prefer an absolutely lawful fractional value, you'll
need to investigate rational numbers or more exotic types.
This is implemented in terms of basic Ring ops. However, this is
probably significantly less efficient than can be done with a
specific type. So, it is recommended that this method be
overriden.
This is implemented in terms of basic Ring ops. However, this is
probably significantly less efficient than can be done with a
specific type. So, it is recommended that this method be
overriden.
This is possible because a Double is a rational number.