1 2 3 4 5 6 7 8 9 10
library ieee; use ieee.math_real.all; entity entcos is end entcos; architecture a of entcos is constant cos_val : real := cos(1.0); begin end a;