# Other Functions

The following functions are available globally.

• ``` ~==(_:_:) ```

Approximation Operators - for when Swift gets double / float arithmetic wrong

#### Declaration

Swift

``public func ~== (left: Double, right: Double) -> Bool``
• ``` ~!=(_:_:) ```

#### Declaration

Swift

``public func ~!= (left: Double, right: Double) -> Bool``
• ``` ~<=(_:_:) ```

#### Declaration

Swift

``public func ~<= (left: Double, right: Double) -> Bool``
• ``` ~>=(_:_:) ```

#### Declaration

Swift

``public func ~>= (left: Double, right: Double) -> Bool``
• ``` ~<(_:_:) ```

#### Declaration

Swift

``public func ~< (left: Double, right: Double) -> Bool``
• ``` ~>(_:_:) ```

#### Declaration

Swift

``public func ~> (left: Double, right: Double) -> Bool``
• ``` random(in:) ```

Random double in range

#### Declaration

Swift

``public func random(in range: ClosedRange<Double>) -> Double``

#### Parameters

 ``` in ``` Range of randomization
• ``` ❗️(_:) ```

Negative logic can be confusing, so we draw special attention to those cases

#### Declaration

Swift

``public prefix func ❗️ (a: Bool) -> Bool``