# 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 -r 6e834a113760 -r 96b7343b8a41 libinterp/corefcn/mappers.cc --- a/libinterp/corefcn/mappers.cc Wed Oct 10 11:44:09 2012 -0700 +++ b/libinterp/corefcn/mappers.cc Thu Oct 11 08:54:08 2012 +0200 @@ -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\