- Companion
- class
trait GCDRingFunctions[GCDRing]
trait RingFunctions[GCDRing]
trait MultiplicativeMonoidFunctions[GCDRing]
trait MultiplicativeSemigroupFunctions[GCDRing]
trait AdditiveGroupFunctions[GCDRing]
trait AdditiveMonoidFunctions[GCDRing]
trait AdditiveSemigroupFunctions[GCDRing]
class Object
trait Matchable
class Any
Value members
Inherited methods
final
def defaultFromBigInt[@specialized(Int, Long, Float, Double) A](n: BigInt)(implicit ev: GCDRing[A]): A
- Inherited from
- RingFunctions
final
Returns the given Double, understood as a rational number, in the provided (division) ring.
Returns the given Double, understood as a rational number, in the provided (division) ring.
This is implemented in terms of basic ops. However, this is probably significantly less efficient than can be done with a specific type. So, it is recommended to specialize this general method.
- Inherited from
- RingFunctions