I am wondering if Math.sin(), Math.cos() are O(1), and how is it translated to the compiler.
We can create a match table for it.
Or we can create a not so detailed match table and use a linear formula to calculate the value.
Or we can break it down.
I guess in any sense Math.sin() is sorta O(1) as the input is bounded, but how exactly is it done in the compiler and how complex it is?