Sign of () and User:MediansSC/Sandbox/SignFunction: Difference between pages
(Difference between pages)
Sign of ()
Sign of ()
Content added Content deleted
(Created page with "<!--{{Infobox Block |block_type = Reporter Block |category = Extra Mathematics |title = sign of () |block_ }}--> The '''sign of ()''' block is a reporter block in the Extra Mathematics extension that reports the sign function of the inputted number, which returns -1 for negative numbers, 0 for zero, and 1 for positive numbers. ==Workaround== This block can be worked around by using the following: The + (0) is used to get 0 when 0 is the number, rather than NaN....") |
(Removed redirect to sign of ()) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
{{Delete}} |
|||
<!--{{Infobox Block |
|||
|block_type = Reporter Block |
|||
|category = [[Extra Mathematics]] |
|||
|title = sign of () |
|||
|block_ |
|||
}}--> |
|||
The '''sign of ()''' block is a reporter block in the [[Extra Mathematics]] extension that reports the sign function of the inputted number, which returns -1 for negative numbers, 0 for zero, and 1 for positive numbers. |
|||
==Workaround== |
|||
This block can be worked around by using the following: |
|||
The + (0) is used to get 0 when 0 is the number, rather than NaN. |
|||
==See also== |
|||
*[[() of ()]] |
|||
<!--{{DISPLAYTITLE:sign of ()}} |
|||
[[Category:Reporter Blocks]] |
|||
[{Category:Extra Mathematics Blocks]] |
|||
--> |
Latest revision as of 01:59, 28 June 2024
Recycling
This page has been requested for removal from the wiki for placeholder.