21 December 2011 01:32:48 PM CPP_INTRINSICS: Test the C++ intrinsic library. TEST_ABS: Test ABS, which evaluates the absolute value of an int. I ABS(I) -5632 5632 9127 9127 6591 6591 1234 1234 -1694 1694 -8678 8678 -4849 4849 -7801 7801 -9124 9124 2679 2679 TEST_ACOS: Test ACOS, which evaluates the arc-cosine function. X Y Z ACOS(X) COS(Y) -0.563163 2.16901 -0.563163 0.912635 0.421111 0.912635 0.659019 0.851283 0.659019 0.123391 1.44709 0.123391 -0.169386 1.741 -0.169386 -0.867763 2.62148 -0.867763 -0.484844 2.07698 -0.484844 -0.780086 2.4656 -0.780086 -0.912342 2.71976 -0.912342 0.267931 1.29955 0.267931 TEST_ASIN: Test ASIN, which evaluates the arc-sine function. X Y Z ASIN(X) SIN(Y) -0.563163 -0.598209 -0.563163 0.912635 1.14969 0.912635 0.659019 0.719513 0.659019 0.123391 0.123706 0.123391 -0.169386 -0.170206 -0.169386 -0.867763 -1.05068 -0.867763 -0.484844 -0.506185 -0.484844 -0.780086 -0.894804 -0.780086 -0.912342 -1.14897 -0.912342 0.267931 0.271245 0.267931 TEST_ATAN: Test ATAN, which evaluates the arc-tangent function. X Y Z ATAN(X) TAN(Y) -0.563163 -0.512893 -0.563163 0.912635 0.739752 0.912635 0.659019 0.582689 0.659018 0.123391 0.12277 0.123391 -0.169386 -0.167793 -0.169386 -0.867763 -0.714716 -0.867763 -0.484844 -0.45145 -0.484844 -0.780086 -0.66248 -0.780086 -0.912342 -0.739592 -0.912342 0.267931 0.261783 0.267931 TEST_ATAN2: Test ATAN2, which evaluates the arc-tangent function. X1 X2 X1/X2 Y Z ATAN(X1,X2) TAN(Y) -0.563163 0.912635 -0.617074 -0.552879 -0.617074 0.659019 0.123391 5.3409 1.3857 5.3409 -0.169386 -0.867763 0.195198 -2.94882 0.195198 -0.484844 -0.780086 0.621527 -2.58549 0.621527 -0.912342 0.267931 -3.40513 -1.28515 -3.40513 -0.876546 -0.100922 8.68537 -1.68543 8.68536 -0.197387 0.509347 -0.38753 -0.369711 -0.38753 0.594574 -0.996323 -0.596768 2.60355 -0.596768 0.795008 -0.298495 -2.66339 1.92997 -2.66338 -0.81091 -0.972766 0.833613 -2.44669 0.833613 TEST_CEIL: Test CEIL, which evaluates the ceiling function. X Y CEIL(X) -11.2633 -11 18.2527 19 13.1804 14 2.46782 3 -3.38772 -3 -17.3553 -17 -9.69689 -9 -15.6017 -15 -18.2468 -18 5.35863 6 TEST_COS: Test COS, which evaluates the cosine function. X Y COS(X) -1.76923 -0.197134 2.86713 -0.96257 2.07037 -0.479049 0.387644 0.925802 -0.532141 0.861723 -2.72616 -0.91494 -1.52318 0.0475948 -2.45071 -0.770686 -2.86621 -0.96232 0.841732 0.666172 TEST_COSH: Test COSH, which evaluates the hyperbolic cosine function. X Y COSH(X) -2.81582 8.38334 4.56318 47.949 3.29509 13.5085 0.616955 1.19643 -0.846929 1.3806 -4.33881 38.3148 -2.42422 5.69099 -3.90043 24.722 -4.56171 47.8787 1.33966 2.03984 TEST_EXP: Test EXP, which evaluates the exponential function. X Y Z EXP(X) LOG(Y) -1.72373 0.1784 -1.72373 9.34476 11438.8 9.34476 7.44264 1707.25 7.44264 3.42543 30.7359 3.42543 1.22961 3.41988 1.22961 -4.00822 0.0181657 -4.00822 -1.13633 0.320994 -1.13633 -3.35065 0.0350616 -3.35065 -4.34257 0.0130031 -4.34257 4.50949 90.8751 4.50949 TEST_FABS: Test FABS, which evaluates the absolute value of a real quantity. X Y FABS(X) -5631.63 5631.63 9126.35 9126.35 6590.19 6590.19 1233.91 1233.91 -1693.86 1693.86 -8677.62 8677.62 -4848.44 4848.44 -7800.86 7800.86 -9123.42 9123.42 2679.31 2679.31 TEST_FLOOR: Test FLOOR, which evaluates the floor function. X Y FLOOR(X) -11.2633 -12 18.2527 18 13.1804 13 2.46782 2 -3.38772 -4 -17.3553 -18 -9.69689 -10 -15.6017 -16 -18.2468 -19 5.35863 5 TEST_FMOD: Test FMOD, which returns the remainder of X1 / X2. X1 X2 X1/X2 Y Z FMOD(X1,X2) X2*MODF(X1/X2,*) -2.81582 4.56318 -0.617074 -2.81582 -2.81582 3.29509 0.616955 5.3409 0.210319 0.210319 -0.846929 -4.33881 0.195198 -0.846929 -0.846929 -2.42422 -3.90043 0.621527 -2.42422 -2.42422 -4.56171 1.33966 -3.40513 -0.542738 -0.542738 -4.38273 -0.504611 8.68537 -0.345843 -0.345843 -0.986938 2.54673 -0.387531 -0.986938 -0.986938 2.97287 -4.98162 -0.596768 2.97287 2.97287 3.97504 -1.49248 -2.66339 0.990087 0.990087 -4.05455 -4.86383 0.833613 -4.05455 -4.05455 TEST_FREXP: Test FREXP, which splits X into a normalized fraction and a power of 2. X Y N Z Y*2^N -11.2633 -0.703954 4 -11.2633 18.2527 0.570397 5 18.2527 13.1804 0.823773 4 13.1804 2.46782 0.616955 2 2.46782 -3.38772 -0.846929 2 -3.38772 -17.3553 -0.542352 5 -17.3553 -9.69689 -0.606055 4 -9.69689 -15.6017 -0.975108 4 -15.6017 -18.2468 -0.570214 5 -18.2468 5.35863 0.669829 3 5.35863 TEST_LDEXP: Test LDEXP, which evaluates X*2^N. X N Y LDEXP(X,N) -0.563163 10 -576.679 0.659019 1 1.31804 -0.169386 -9 -0.000330832 -0.484844 -8 -0.00189392 -0.912342 3 -7.29874 -0.876546 -1 -0.438273 -0.197387 5 -6.3164 0.594574 -10 0.000580639 0.795008 -3 0.099376 -0.81091 -10 -0.000791905 TEST_LOG: Test LOG, which evaluates the logarithm function. X Y Z LOG(X) EXP(Y) 2184.18 7.689 2184.18 9563.18 9.16568 9563.18 8295.09 9.02342 8295.09 5616.95 8.63354 5616.95 4153.07 8.3316 4153.07 661.187 6.49404 661.187 2575.78 7.85391 2575.78 1099.57 7.00267 1099.57 438.29 6.08288 438.29 6339.66 8.75458 6339.65 TEST_LOG10: Test LOG10, which evaluates the logarithm base 10 function. X Y Z LOG10(X) POW(10,Y) 2184.18 3.33929 2184.18 9563.18 3.9806 9563.17 8295.09 3.91882 8295.09 5616.95 3.7495 5616.96 4153.07 3.61837 4153.07 661.187 2.82032 661.187 2575.78 3.41091 2575.78 1099.57 3.04122 1099.57 438.29 2.64176 438.29 6339.66 3.80207 6339.66 TEST_MODF: Test MODF, which splits X into integer and fractional parts. X Y1 Y2 Z Y1+Y2 -11.2633 -0.263268 -11 -11.2633 18.2527 0.252705 18 18.2527 13.1804 0.18037 13 13.1804 2.46782 0.467819 2 2.46782 -3.38772 -0.387716 -3 -3.38772 -17.3553 -0.355251 -17 -17.3553 -9.69689 -0.696888 -9 -9.69689 -15.6017 -0.601728 -15 -15.6017 -18.2468 -0.24684 -18 -18.2468 5.35863 0.358629 5 5.35863 TEST_POW: Test POW, which evaluates the power function X1^X2. X1 X2 Y POW(X1,X2) 2.18418 9.47581 1640.74 8.29509 4.74035 22674.1 4.15307 -1.20658 0.179428 2.57578 -0.680519 0.525254 0.43829 5.60759 0.00979819 0.617272 3.39447 0.194438 4.01306 7.05608 18120.7 7.97287 -1.97794 0.0164688 8.97504 2.20903 127.434 0.945448 -1.8366 1.10852 TEST_SIN: Test SIN, which evaluates the sine function. X Y SIN(X) -1.76923 -0.980377 2.86713 0.271032 2.07037 0.877788 0.387644 0.378008 -0.532141 -0.50738 -2.72616 -0.403589 -1.52318 -0.998867 -2.45071 -0.637215 -2.86621 -0.271918 0.841732 0.745798 TEST_SINH: Test SINH, which evaluates the hyperbolic sine function. X Y SINH(X) -2.81582 -8.32348 4.56318 47.9386 3.29509 13.4714 0.616955 0.656845 -0.846929 -0.951872 -4.33881 -38.3017 -2.42422 -5.60245 -3.90043 -24.7018 -4.56171 -47.8683 1.33966 1.7779 TEST_SQRT: Test SQRT, which evaluates the square root function. X Y Z SQRT(X) Y*Y 21.8418 4.67352 21.8418 95.6318 9.77915 95.6318 82.9509 9.10774 82.9509 56.1695 7.49463 56.1695 41.5307 6.44443 41.5307 6.61187 2.57136 6.61187 25.7578 5.07521 25.7578 10.9957 3.31597 10.9957 4.3829 2.09354 4.3829 63.3966 7.9622 63.3966 TEST_TAN: Test TAN, which evaluates the tangent function. X Y TAN(X) -0.884615 -1.2211 1.43356 7.24111 1.03518 1.68497 0.193822 0.196286 -0.266071 -0.272532 -1.36308 -4.74478 -0.761592 -0.953486 -1.22536 -2.77879 -1.4331 -7.21659 0.420866 0.447611 TEST_TANH: Test TANH, which evaluates the hyperbolic tangent function. X Y TANH(X) -2.81582 -0.99286 4.56318 0.999783 3.29509 0.997256 0.616955 0.549004 -0.846929 -0.689462 -4.33881 -0.999659 -2.42422 -0.984441 -3.90043 -0.999182 -4.56171 -0.999782 1.33966 0.87159 CPP_INTRINSICS: Normal end of execution. 21 December 2011 01:32:48 PM