setSafeEuclideanSemiring

context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Long.Companion.setSafeEuclideanSemiring()(source)

Registers the safe EuclideanSemiring context for Long (with overflow checking) in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.