Ruby: missing/erf.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros | Functions
erf.c File Reference
`#include "ruby/missing.h"`
`#include <stdio.h>`
`#include <math.h>`

Go to the source code of this file.

## Macros
#define | LOG_PI_OVER_2 0.572364942924700087071713675675 /* log_e(PI)/2 */

## Functions
double | erf (double x)
double | erfc (double x)

## Macro Definition Documentation

## ◆ LOG_PI_OVER_2

#define LOG_PI_OVER_2 0.572364942924700087071713675675 /* log_e(PI)/2 */

Definition at line 69 of file erf.c.

## Function Documentation

## ◆ erf()

double erf | ( | double | x | ) |

Definition at line 71 of file erf.c.

References finite(), isnan, and LOG_PI_OVER_2.

## ◆ erfc()

double erfc | ( | double | x | ) |

Definition at line 81 of file erf.c.

References finite(), isnan, and LOG_PI_OVER_2.