All Downloads are FREE. Search and download functionalities are using the official Maven repository.

superquants.longprecision.package.scala Maven / Gradle / Ivy

Go to download

Scala: Typelevel unboxed compile time dimensional analysis over tagged types. Intellij Idea compatible 100%

The newest version!
package superquants

import shapeless.Nat

package object longprecision {

  type Single[T] = Pow[Long, T, PowPlus, Nat._1]
  type Squared[T] = Pow[Long, T, PowPlus, Nat._2]
  type Cubic[T] = Pow[Long, T, PowPlus, Nat._3]

  object Negative {
    type Single[T] = Pow[Long, T, PowMinus, Nat._1]
    type Squared[T] = Pow[Long, T, PowMinus, Nat._2]
    type Cubic[T] = Pow[Long, T, PowMinus, Nat._3]
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy