# HG changeset patch # User Carlo de Falco # Date 1349938448 -7200 # Node ID 96b7343b8a419fc727a30f9aca10b1bf7f66028f # Parent 6e834a1137608e8f52293bd91df3c002614b4f8d Fix typo in docstring for 'sign'. * mappers.cc(Fsign): correct bad escape sequence in the docstring. diff --git a/libinterp/corefcn/mappers.cc b/libinterp/corefcn/mappers.cc --- a/libinterp/corefcn/mappers.cc +++ b/libinterp/corefcn/mappers.cc @@ -1755,7 +1755,8 @@ \n\ For complex arguments, @code{sign} returns @code{x ./ abs (@var{x})}.\n\ \n\ -Note that @code{sign (-0.0)} is 0.\n\ Although IEEE 754 floating point\n\ +Note that @code{sign (-0.0)} is 0.\n\ +Although IEEE 754 floating point\n\ allows zero to be signed, 0.0 and -0.0 compare equal. If you must test\n\ whether zero is signed, use the @code{signbit} function.\n\ @seealso{signbit}\n\