NearEqualityFactD function

Namespace: Microsoft.Quantum.Diagnostics

Package: Microsoft.Quantum.Standard

Asserts that a classical floating point value has the expected value up to a small tolerance of 1e-10.

function NearEqualityFactD (actual : Double, expected : Double) : Unit


actual : Double

The number to be checked.

expected : Double

The expected value.

Output : Unit


This is equivalent to EqualityWithinToleranceFact function with hardcoded tolerance of $10^{-10}$.