10 June 2025 10:33:11 AM c_intrinsics_test(): Test 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.4071 1.9901 -0.4071 0.1470 1.4232 0.1470 0.0542 1.5166 0.0542 -0.7821 2.4688 -0.7821 -0.2925 1.8677 -0.2925 0.1931 1.3764 0.1931 0.6863 0.8144 0.6863 -0.0512 1.6221 -0.0512 -0.5168 2.1139 -0.5168 -0.7041 2.3520 -0.7041 TEST_ASIN: Test ASIN, which evaluates the arc-sine function. X Y Z ASIN(X) SIN(Y) 0.3936 0.4045 0.3936 -0.9479 -1.2467 -0.9479 -0.6900 -0.7615 -0.6900 -0.6378 -0.6916 -0.6378 -0.7256 -0.8119 -0.7256 -0.1610 -0.1617 -0.1610 -0.4459 -0.4621 -0.4459 0.1037 0.1039 0.1037 0.1404 0.1408 0.1404 0.4349 0.4499 0.4349 TEST_ATAN: Test ATAN, which evaluates the arc-tangent function. X Y Z ATAN(X) TAN(Y) -0.8557 -0.7078 -0.8557 0.1974 0.1949 0.1974 -0.4006 -0.3811 -0.4006 0.9388 0.7538 0.9388 0.4671 0.4370 0.4671 -0.9237 -0.7457 -0.9237 0.1931 0.1908 0.1931 -0.5032 -0.4662 -0.5032 0.8432 0.7005 0.8432 -0.9475 -0.7585 -0.9475 TEST_ATAN2: Test ATAN2, which evaluates the arc-tangent function. X1 X2 X1/X2 Y Z ATAN(X1,X2) TAN(Y) 0.8393 0.2913 2.8817 1.2368 2.8817 -0.8792 -0.9215 0.9540 -2.3797 0.9540 -0.1536 -0.9969 0.1541 -2.9887 0.1541 0.4532 0.0108 41.7984 1.5469 41.7984 -0.6972 0.6798 -1.0256 -0.7980 -1.0256 0.2309 0.0372 6.2105 1.4111 6.2104 0.5627 0.8594 0.6548 0.5797 0.6548 -0.3330 -0.7183 0.4636 -2.7075 0.4636 0.1292 0.2918 0.4429 0.4169 0.4429 0.6134 0.3589 1.7092 1.0414 1.7092 TEST_CEIL: Test CEIL, which evaluates the ceiling function. X Y CEIL(X) -6.6878 -6.0000 -10.9473 -10.0000 -2.4665 -2.0000 -6.5073 -6.0000 -5.6575 -5.0000 6.9533 7.0000 6.9143 7.0000 19.8537 20.0000 -9.7934 -9.0000 -5.7159 -5.0000 TEST_COS: Test COS, which evaluates the cosine function. X Y COS(X) -1.5299 0.0409 1.9637 -0.3829 -0.6182 0.8149 2.4682 -0.7817 -3.0930 -0.9988 -1.4331 0.1372 3.1410 -1.0000 -2.4515 -0.7712 -2.0930 -0.4988 -0.7965 0.6992 TEST_COSH: Test COSH, which evaluates the hyperbolic cosine function. X Y COSH(X) -0.8599 1.3930 -0.9865 1.5273 0.6271 1.2032 -0.6262 1.2025 4.6476 52.1704 0.6150 1.1951 1.6697 2.7493 -0.2591 1.0338 1.2486 1.8862 4.0756 29.4507 TEST_EXP: Test EXP, which evaluates the exponential function. X Y Z EXP(X) LOG(Y) 1.9285 6.8795e+00 1.9285 -3.8688 2.0883e-02 -3.8688 2.8884 1.7965e+01 2.8884 1.3659 3.9194e+00 1.3659 3.8613 4.7528e+01 3.8613 -1.0687 3.4347e-01 -1.0687 -0.9726 3.7811e-01 -0.9726 1.1777 3.2470e+00 1.1777 -4.4790 1.1345e-02 -4.4790 0.2474 1.2807e+00 0.2474 TEST_FABS: Test FABS, which evaluates the absolute value of a real quantity. X Y FABS(X) 2015.8462 2015.8462 -5274.8989 5274.8989 4447.0737 4447.0737 -974.0198 974.0198 3700.8845 3700.8845 -6459.2393 6459.2393 1771.0980 1771.0980 -5387.0039 5387.0039 6567.2100 6567.2100 5090.4268 5090.4268 TEST_FLOOR: Test FLOOR, which evaluates the floor function. X Y FLOOR(X) -4.3844 -5.0000 -16.7873 -17.0000 0.4864 0.0000 -8.6666 -9.0000 -14.3041 -15.0000 -9.6658 -10.0000 -15.4940 -16.0000 -13.3441 -14.0000 12.0033 12.0000 8.0048 8.0000 test_fmax(): Test fmax(), which returns the larger of two floats. a b c=fmax(a,b) 1.234 2.456 2.456 test_fmin(): Test fmin(), which returns the smaller of two floats. a b c=fmin(a,b) 1.234 2.456 1.234 TEST_FMOD: Test FMOD, which returns the remainder of X1 / X2. X1 X2 X1/X2 Y Z FMOD(X1,X2) X2*MODF(X1/X2,*) 1.1061 1.0593 1.0441 0.0467 0.0467 -0.9286 1.7001 -0.5462 -0.9286 -0.9286 -0.3908 2.7172 -0.1438 -0.3908 -0.3908 2.1919 -1.9461 -1.1263 0.2458 0.2458 2.6302 1.7828 1.4753 0.8474 0.8474 3.7910 -2.1856 -1.7345 1.6053 1.6053 -4.8102 -3.9049 1.2318 -0.9053 -0.9053 -3.8238 -1.1926 3.2062 -0.2459 -0.2459 1.5312 0.0713 21.4606 0.0329 0.0329 1.9048 -2.5558 -0.7453 1.9048 1.9048 TEST_FREXP: Test FREXP, which splits X into a normalized fraction and a power of 2. X Y N Z Y*2^N 9.8994 0.6187 4 9.8994 0.7751 0.7751 0 0.7751 -2.4552 -0.6138 2 -2.4552 -9.4054 -0.5878 4 -9.4054 19.2128 0.6004 5 19.2128 9.6913 0.6057 4 9.6913 15.9331 0.9958 4 15.9331 -1.2523 -0.6262 1 -1.2523 13.8411 0.8651 4 13.8411 -7.2096 -0.9012 3 -7.2096 TEST_LDEXP: Test LDEXP, which evaluates X*2^N. X N Y LDEXP(X,N) 0.5945 -6 0.0093 -0.2674 10 -273.7760 0.8023 7 102.6991 -0.2304 1 -0.4607 0.7689 -2 0.1922 -0.1846 -9 -0.0004 0.9696 -5 0.0303 0.1944 -8 0.0008 -0.4644 -10 -0.0005 0.3940 3 3.1517 TEST_LOG: Test LOG, which evaluates the logarithm function. X Y Z LOG(X) EXP(Y) 2.7388e+03 7.9153 2.7388e+03 1.7713e+03 7.4795 1.7713e+03 1.0779e+02 4.6802 1.0779e+02 5.6143e+03 8.6331 5.6143e+03 2.7566e+03 7.9218 2.7566e+03 1.5642e+03 7.3551 1.5642e+03 4.8883e+03 8.4946 4.8883e+03 3.4047e+02 5.8303 3.4047e+02 7.5740e+03 8.9325 7.5740e+03 1.3971e+02 4.9396 1.3971e+02 test_log10(): test log10(), which evaluates the logarithm base 10 function. X Y Z LOG10(X) POW(10,Y) 5.7007e+03 3.7559 5.7007e+03 1.6032e+03 3.2050 1.6032e+03 4.4236e+03 3.6458 4.4236e+03 2.6797e+03 3.4281 2.6797e+03 7.8865e+03 3.8969 7.8865e+03 6.4736e+03 3.8111 6.4736e+03 5.4790e+03 3.7387 5.4790e+03 9.4154e+03 3.9738 9.4154e+03 3.7380e+03 3.5726 3.7380e+03 8.8479e+03 3.9468 8.8479e+03 TEST_MODF: Test MODF, which splits X into integer and fractional parts. X Y1 Y2 Z Y1+Y2 13.4120 0.4120 13.0000 13.4120 -1.2639 -0.2639 -1.0000 -1.2639 16.5421 0.5421 16.0000 16.5421 17.4427 0.4427 17.0000 17.4427 -3.0749 -0.0749 -3.0000 -3.0749 2.8104 0.8104 2.0000 2.8104 -18.9291 -0.9291 -18.0000 -18.9291 -14.0311 -0.0311 -14.0000 -14.0311 11.0249 0.0249 11.0000 11.0249 12.6921 0.6921 12.0000 12.6921 TEST_POW: Test POW, which evaluates the power function X1^X2. X1 X2 Y POW(X1,X2) 2.2721 4.0860 2.8601e+01 8.0931 -1.7953 2.3426e-02 0.5252 3.1865 1.2848e-01 2.1162 6.3527 1.1700e+02 9.4248 0.3769 2.3293e+00 7.8515 7.7699 8.9874e+06 5.5399 2.4484 6.6123e+01 8.2325 3.3449 1.1545e+03 5.4490 1.5583 1.4041e+01 2.9417 4.8870 1.9500e+02 TEST_SIN: Test SIN, which evaluates the sine function. X Y SIN(X) -3.0118 -0.1295 2.2133 0.8006 0.1267 0.1264 2.3989 0.6763 -2.6856 -0.4404 1.5277 0.9991 -0.9474 -0.8119 0.5229 0.4994 -1.7185 -0.9891 -2.2782 -0.7601 TEST_SINH: Test SINH, which evaluates the hyperbolic sine function. X Y SINH(X) 2.4467 5.7319 -4.9309 -69.2457 -1.7212 -2.7060 -0.8434 -0.9470 1.8187 3.0008 4.1570 31.9328 4.0198 27.8356 -3.7685 -21.6457 -3.8718 -24.0033 -4.6919 -54.5271 TEST_SQRT: Test SQRT, which evaluates the square root function. X Y Z SQRT(X) Y*Y 41.3994 6.4342 41.3994 68.8408 8.2970 68.8408 11.4799 3.3882 11.4799 9.6504 3.1065 9.6504 0.9540 0.9768 0.9540 21.9165 4.6815 21.9165 70.5447 8.3991 70.5447 16.5333 4.0661 16.5333 21.2927 4.6144 21.2927 33.6621 5.8019 33.6621 TEST_TAN: Test TAN, which evaluates the tangent function. X Y TAN(X) 1.3085 3.7243 1.0428 1.7145 -1.5616 -108.9829 1.4131 6.2883 0.8020 1.0337 0.0421 0.0422 0.1618 0.1632 0.0392 0.0392 0.1115 0.1120 1.0206 1.6302 TEST_TANH: Test TANH, which evaluates the hyperbolic tangent function. X Y TANH(X) -0.9066 -0.7195 -1.8234 -0.9492 0.6730 0.5870 2.7860 0.9924 3.3790 0.9977 4.5812 0.9998 -0.9495 -0.7396 -2.6287 -0.9896 -0.6252 -0.5547 -3.3109 -0.9973 c_intrinsics_test(): Normal end of execution. 10 June 2025 10:33:11 AM