Language
C
Compiler
clang 11.1.0
Options
Warnings
Optimization
C11
-pedantic
Raw compiler options
trapezoidal.c
my_func.c
-lm
$ clang prog.c -Wall -Wextra -O2 -march=native -std=c11 -pedantic trapezoidal.c my_func.c -lm
n integral
---------------
1 0.064160
2 0.451762
4 0.501611
8 0.512938
16 0.515709
32 0.516399
64 0.516571
128 0.516614
256 0.516624
512 0.516627
1024 0.516628
Exit Code:
0