add return statements missed when adapting from FreeBSD
authorjsg <jsg@openbsd.org>
Wed, 1 May 2024 11:22:21 +0000 (11:22 +0000)
committerjsg <jsg@openbsd.org>
Wed, 1 May 2024 11:22:21 +0000 (11:22 +0000)
commit65a55a55c7a1ceb83f2b4bc7b773d473ee2e30fb
treeb47be959af6d33055b655df531fb8206f15c77ea
parent2e102f12537f9d25888dddb377b951677b405917
add return statements missed when adapting from FreeBSD

Avoids segfaults with an argument of 0, NaN, or Inf.
Problem reported by Colin Ian King.  ok miod@ kettenis@
lib/libm/src/s_sincosl.c