Implement signbit in terms of copysign.

Currently, copysign is broken for negative zero, so this will be
as well.

Fixes #911.
Merge pull request #922 from waywardmonkeys/implement-signbit

Implement signbit in terms of copysign.