Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Provides the complementary error function of the input.
Syntax
erfc(x)
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description | 
|---|---|---|---|
| x | real | ✔️ | The value for which to calculate the function. | 
Returns
Returns the complementary error function of x.
Examples
The following example shows how to use the erfc() function to calculate the complementary error function for a range of values from -3 to 3.
range x from -3 to 3 step 1
| extend erf_x = erfc(x)
| x | erf_x | 
|---|---|
| -3 | 1.999977909503001 | 
| -2 | 1.995322265018953 | 
| -1 | 1.842700792949715 | 
| 0 | 1 | 
| 1 | 0.157299207050285 | 
| 2 | 0.00467773498104727 | 
| 3 | 2.20904969985854E-05 |