@@ -5,20 +5,20 @@ namespace Microsoft.Quantum.Diagnostics {
55 open Microsoft .Quantum .Math ;
66
77 /// # Summary
8- /// Declares that a classical condition is true.
8+ /// Checks whether a classical condition is true, and throws an exception if it is not .
99 ///
1010 /// # Input
1111 /// ## actual
12- /// The condition to be declared .
12+ /// The condition to be checked .
1313 /// ## message
14- /// Failure message string to be printed in the case that the classical
14+ /// Failure message string to be used as an error message if the classical
1515 /// condition is false.
1616 ///
1717 /// # See Also
1818 /// - Microsoft.Quantum.Diagnostics.Contradiction
1919 ///
2020 /// # Example
21- /// The following Q# snippet will fail :
21+ /// The following Q# snippet will throw an exception :
2222 /// ```qsharp
2323 /// Fact(false, "Expected true.");
2424 /// ```
@@ -27,13 +27,13 @@ namespace Microsoft.Quantum.Diagnostics {
2727 }
2828
2929 /// # Summary
30- /// Declares that a classical condition is false.
30+ /// Checks whether a classical condition is false, and throws an exception if it is not .
3131 ///
3232 /// # Input
3333 /// ## actual
34- /// The condition to be declared .
34+ /// The condition to be checked .
3535 /// ## message
36- /// Failure message string to be printed in the case that the classical
36+ /// Failure message string to be used as an error message if the classical
3737 /// condition is true.
3838 ///
3939 /// # See Also
@@ -50,18 +50,18 @@ namespace Microsoft.Quantum.Diagnostics {
5050 }
5151
5252 /// # Summary
53- /// Declares that a given floating-point value represents a finite
54- /// number, failing when this is not the case.
53+ /// Checks whether a given floating-point value represents a finite
54+ /// number, and throws an exception if this is not the case.
5555 ///
5656 /// # Input
5757 /// ## d
5858 /// The floating-point value that is to be checked.
5959 /// ## message
60- /// Failure message to be printed in the case that `d` is either
60+ /// Failure message to be used as an error message if `d` is either
6161 /// not finite, or not a number.
6262 ///
6363 /// # Example
64- /// The following Q# code will fail when run :
64+ /// The following Q# code will throw an exception :
6565 /// ```qsharp
6666 /// FiniteFact(NaN(), "NaN is not a finite number.");
6767 /// ```
0 commit comments