FloatComplex

final
class FloatComplex(val u: Long) extends AnyVal

Value class which encodes two floating point values in a Long.

We get (basically) unboxed complex numbers using this hack. The underlying implementation lives in the FastComplex object.

Companion
object
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

final
final
def **(b: Int): FloatComplex
final
final
final
final
def abs: Float
final
def angle: Float
final
def imag: Float
final
def isWhole: Boolean
final
final
def pow(b: Int): FloatComplex
final
def real: Float
final
def repr: String
final
def signum: Int
final override
def toString: String
Definition Classes
Any

Concrete fields

val u: Long