Feature #189

improving the treatment of the sign bit in Math/SMath

Added by J. Templ 9 months ago. Updated 9 months ago.

Status:ClosedStart date:06/23/2018
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7.2
Forum topic:https://forum.blackboxframework.org/viewtopic.php?f=40&t=724

Description

It is proposed to add the functions CopySign and SignBit according to IEEE 754-2008 to Math/SMath. In addition, the implementation of Sign, Sinh, Tanh, ArcSinh, ArcTanh, Mantissa, and Real should return negative zero (-0.0) if the argument is negative zero.

Reported by Robert, 2018-06-19.

Associated revisions

Revision 451ee723
Added by J. Templ 9 months ago

fixing the treatment of -0.0 in Math/SMath. Refs: #189.
As suggested by Robert.

Signed-off-by: Josef Templ <>

Revision 051ed186
Added by J. Templ 9 months ago

added CopySign and SignBit. Refs: #189.
as proposed by Robert.

Signed-off-by: Josef Templ <>

Revision ffd616fc
Added by J. Templ 9 months ago

docu improved. Refs: #189.

Signed-off-by: Josef Templ <>

Revision 14e76702
Added by J. Templ 9 months ago

formatting of alternative ArcTanh improved. Refs: #189.
as suggested by Robert.

Signed-off-by: Josef Templ <>

Revision df38d17e
Added by J. Templ 9 months ago

functions SignBit() and Pi() added to alternative code section. Refs: #189.
Qualification with "Math." removed.
Text color changed to default color in ArcTan2.

Signed-off-by: Josef Templ <>

Revision a940ecb3
Added by J. Templ 9 months ago

function SignBit() fixed in alternative code section. Refs: #189.

Signed-off-by: Josef Templ <>

History

#1 Updated by J. Templ 9 months ago

  • Subject changed from Math.Sign(-0.0) should return -0.0 to fixing the treatment of -0.0 in Math/SMath
  • Description updated (diff)
  • Forum topic set to https://forum.blackboxframework.org/viewtopic.php?f=40&t=724

#2 Updated by J. Templ 9 months ago

  • Tracker changed from Bug to Feature
  • Subject changed from fixing the treatment of -0.0 in Math/SMath to improving the treatment of the sign bit in Math/SMath
  • Description updated (diff)

#3 Updated by J. Templ 9 months ago

  • Description updated (diff)
  • Status changed from New to Closed

Also available in: Atom PDF