Description | VF_tantab2[ i ] = tan( i/(2*VF_tabsz2) * p ), i=0,...,VF_tabsz2−1
VF_tantab3[ i ] = tan( i/(2*VF_tabsz3) * p ), i=0,...,VF_tabsz3−1
VF_tantab2[ VF_tabsz2 ] = VF_tantab3[ VF_tabsz3 ] = 0;
These look-up tables of tangent values for arguments between 0 and p/2 are used by VF_tanrpi2 and the other functions of that family and are also available for other purposes. Since the tangent of p/2 is not defined, zero is stored at its place.
C/C++: The symbols VF_tabsz2 etc., denoting the size of the tables, are defined in <xmath.h>.
Pascal/Delphi: The symbols VF_tabsz2 etc. are defined in the same units as the tables themselves.
FreePascal/Lazarus: These tables are not available for FreePascal/Lazarus. |