VHDL Real Number Constants - 2023.1 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2023-06-09
Version
2023.1 English

The following table describes the VHDL real number constants.

Table 1. 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 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π