Tests of module 'math' in C++ mode.