Language
C++
Compiler
gcc 13.2.0
Options
Warnings
Optimization
Boost 1.83.0
C++2b
no pedantic
$ g++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.83.0-gcc-13.2.0/include -std=c++2b
sin(0/4π) = 0.0000000000000000 cos(0/4π) = 1.0000000000000000
sin(1/4π) = 0.7071067811865475 cos(1/4π) = 0.7071067811865476
sin(2/4π) = 1.0000000000000000 cos(2/4π) = 0.0000000000000001
sin(3/4π) = 0.7071067811865476 cos(3/4π) = -0.7071067811865475
sin(4/4π) = 0.0000000000000001 cos(4/4π) = -1.0000000000000000
sin(5/4π) = -0.7071067811865475 cos(5/4π) = -0.7071067811865477
sin(6/4π) = -1.0000000000000000 cos(6/4π) = -0.0000000000000002
sin(7/4π) = -0.7071067811865477 cos(7/4π) = 0.7071067811865474
sin(8/4π) = -0.0000000000000002 cos(8/4π) = 1.0000000000000000
Exit Code:
0