The following table describes the VHDL real number constants.
Constant | Value | Constant | Value |
---|---|---|---|
math_e | E | math_log_of_2 | ln2 |
math_1_over_e | 1/e | math_log_of_10 | ln10 |
math_pi | Π | math_log2_of_e | log2 |
math_2_pi | 2π | math_log10_of_e | log10 |
math_1_over_pi | 1/ π | math_sqrt_2 | √2 |
math_pi_over_2 | π/2 | math_1_oversqrt_2 | 1/√2 |
math_pi_over_3 | π/3 | math_sqrt_pi | √π |
math_pi_over_4 | π/4 | math_deg_to_rad | 2π/360 |
math_3_pi_over_2 | 3π/2 | math_rad_to_deg | 360/2π |