totalfloat

object totalfloat

This provides orderings (Order and Eq) for Float and Double that have a total order. Specifically, this will order NaN's consistently, rather than having their order be undefined. However, this won't be as fast as the default ordering.

class Object
trait Matchable
class Any

Type members

Classlikes

trait TotalDoubleOrder extends Order[Double]
trait TotalFloatOrder extends Order[Float]

Implicits

Implicits

final implicit
val TotalDoubleOrder: Order[Double]
final implicit
val TotalFloatOrder: Order[Float]