Y
Hacker News
new
|
ask
|
show
|
jobs
by
smallstepforman
108 days ago
Are there any c/c++ libs / headers that use this (without converting to radians in the background). I like this idea.
1 comments
teo_zero
108 days ago
The C standard defines the functions sinpi(), cospi(), etc. that act on half-turns. If you have a modern compiler, all you have to do is to include math.h
link