VectorSpace
for free
elist
library is out there somewhere I should be aware of?
BigInt
with https://github.com/fthomas/refined ? Natural
is kind of a weird type
ConvertableFrom
, ConvertableTo
business is not necessarily very principled. That said, using UInt
with those typeclasses is likely to lead to boxing if the JIT is not clever enough.
Int
.
pi
is defined on line 314: https://github.com/typelevel/spire/blob/master/core/src/main/scala/spire/math/Real.scala#L314