Function sign

T sign(T) (
  T num
) pure nothrow
if (is(typeof(num < 0)));