Wikifunctions:Catalogue/Sign operations
Appearance

Functions about the Type Sign (Z16659): The sign of a number
A sign can be positive, neutral, or negative.
Comparisons
- same sign (Z16667): returns true if both inputs are identical signs
- different sign (Z16750): returns true if the two inputs are different signs
Operations
- invert sign (Z16676): Given a positive sign, returns negative, and vice versa. Neutral remains the same.
- Sign identity (Z16821): returns the Sign argument unaltered
- multiply signs (Z16728): the sign of the product of two numbers with the input signs
Predicates
- sign non-negative (Z16756): returns false if the input is negative, otherwise true
- sign is non-positive (Z16768): returns true if the sign is either negative or neutral, otherwise positive
As charges
- do these charges electrostatically attract? (Z16781): true only if one is negative and the other positive (or vice versa)
- do these charges electrostatically repel (Z16793): true only if the charges are of the same sign
- do these charges electrostatically interact (Z16897): True if neither input is neutral
- sign of net charge from SMILES string (Z16718): takes a string representation of a molecular or ionic compound and returns whether it is positive, negative, or neutral overall
Conversions
- Boolean to Sign (Z17053): Return positive if true, or negative if false
- sign of integer (Z17105): returns negative/neutral/positive
- sign to unit integer (Z17151): Restituisce -1 se negativo, 0 se neutro e 1 se positivo
- Gregorian era to sign (Z18072): সাধারণ অব্দকে ধনাত্মক এবং সাধারণ পূর্বাব্দকে ঋণাত্মক চিহ্নে পরিণত করবে
- sign to Gregorian era (Z18080): ধনাত্মক চিহ্ন হবে সাধারণ অব্দ এবং ঋণাত্মক হবে সাধারণ পূর্বাব্দ
- character to sign (Z18939): first char "+" = positive, "-" = negative, "0" = neutral. Add other symbols. Default neutral.
- sign of rational number (Z19717): no description
Results in Sign
- sign of difference (Z16731): returns the sign of the subtraction: (first number - second number)
- sign (a-b)*(a-c) (Z16762): returns the sign of the (natural number) calculation (a-b)*(a-c)
Search for
Functions expecting or returning an explicit Sign object, singly or in a list