Implement copysign, ilogb and nextafter for half

http://b/23536224

Implementations are based on float32 implementations in
bionic/libm/upstream-bsd.

Change-Id: Id2f28caae22e86a2cc401996902bf8be93cb9328
5 files changed