Hi,
Thanks for the report, I can reproduce it.
I am leaning toward not a bug because atan2d computes the angle in
radians first. For this input that angle is too small for float8, so
atan2 already returns 0. The docs don't promise an exact result for
such tiny inputs.
Thanks,
Shihao