CPP_INTRINSICS
Test C++ Intrinsic Functions. {#cpp_intrinsics-test-c-intrinsic-functions. align="center"}
CPP_INTRINSICS is a C++ program which tests or demonstrates some of the intrinsic functions provided by the C++ language.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
CPP_INTRINSICS is available in a C++ version.
C_INTRINSICS, a C program which illustrates the use of intrinsic functions supplied by the C language.
F77_INTRINSICS, FORTRAN77 programs which include some examples of the use of intrinsic functions included with the FORTRAN77 standard language.
F90_INTRINSICS, FORTRAN90 programs which include some examples of the use of intrinsic functions included with the FORTRAN90 standard language.
G++_INTRINSICS, a C++ program which demonstrates some of the intrinsic functions provided by the G++ compiler for C++.
G77_INTRINSICS, FORTRAN77 programs which include some examples of the use of intrinsic functions included with the G77 compiler.
G95_INTRINSICS, FORTRAN90 programs which include some examples of the use of intrinsic functions peculiar to the GNU G95 FORTRAN compiler.
GCC_INTRINSICS, a C++ program which demonstrates some of the intrinsic functions provided by the GCC compiler for C.
GFORTRAN_INTRINSICS, a FORTRAN90 program which demonstrates the use of some of the intrinsic functions included with the GFORTRAN compiler.
MATH_INTRINSICS, a JAVA program which illustrates the use of the intrinsic functions in the Java Math package.
XLF_INTRINSICS, FORTRAN90 programs which include some examples of the use of intrinsic functions peculiar to the IBM XLF FORTRAN compiler.
- Paul Deitel, Harvey Deitel,
C++: How to Program,
Seventh Edition,
Prentice Hall, 2011,
ISBN: 978-013-216541-9,
LC: QA76.73.C153.D45.
- cpp_intrinsics.cpp, the source code.
- cpp_intrinsics_output.txt, the output file.
- MAIN is the main program for CPP_INTRINSICS.
- TEST_ABS tests ABS.
- TEST_ACOS tests ACOS.
- TEST_ASIN tests ASIN.
- TEST_ATAN tests ATAN.
- TEST_ATAN2 tests ATAN2.
- TEST_CEIL tests CEIL.
- TEST_COS tests COS.
- TEST_COSH tests COSH.
- TEST_EXP tests EXP.
- TEST_FABS tests FABS.
- TEST_FLOOR tests FLOOR.
- TEST_FMOD tests FMOD.
- TEST_FREXP tests FREXP.
- TEST_LDEXP tests LDEXP.
- TEST_LOG tests LOG.
- TEST_LOG10 tests LOG10.
- TEST_MODF tests MODF.
- TEST_POW tests POW.
- TEST_SIN tests SIN.
- TEST_SINH tests SINH.
- TEST_SQRT tests SQRT.
- TEST_TAN tests TAN.
- TEST_TANH tests TANH.
- I4_MAX returns the maximum of two I4's.
- I4_MIN returns the smaller of two I4's.
- I4_UNIFORM returns a scaled pseudorandom I4.
- R4_NINT returns the nearest integer to an R4.
- R4_UNIFORM returns a scaled pseudorandom R4.
- TIMESTAMP prints the current YMDHMS date as a time stamp.
You can go up one level to the C++ source codes.
Last revised on 17 April 2011.