This uses the implementation of sinf() in sysdeps/x86_64/fpu/s_sinf.S as inspiration.
mentioned in commit 35c185d1