"Fossies" - the Fresh Open Source Software Archive

Member "pari-2.13.1/src/functions/symbolic_operators/eq" (4 Jan 2021, 1404 Bytes) of package /linux/misc/pari-2.13.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "eq": 2.13.0_vs_2.13.1.

    1 Function: _==_
    2 Help: x==y: return 1 if x and y are equal, 0 otherwise.
    3 Section: symbolic_operators
    4 C-Name: geq
    5 Prototype: GG
    6 Description:
    7  (small, small):bool:parens             $(1) == $(2)
    8  (lg, lg):bool:parens                   $(1) == $(2)
    9  (small, int):bool                      equalsi($1, $2)
   10  (mp, 0):bool                           !signe($1)
   11  (int, 1):bool                          equali1($1)
   12  (int, -1):bool                         equalim1($1)
   13  (int, small):bool                      equalis($1, $2)
   14  (int, int):bool                        equalii($1, $2)
   15  (gen, 0):bool                          gequal0($1)
   16  (gen, 1):bool                          gequal1($1)
   17  (gen, -1):bool                         gequalm1($1)
   18  (real,real):bool                       equalrr($1, $2)
   19  (mp, mp):bool:parens                   mpcmp($1, $2) == 0
   20  (errtyp, errtyp):bool:parens           $(1) == $(2)
   21  (errtyp, #str):bool:parens             $(1) == $(errtyp:2)
   22  (#str, errtyp):bool:parens             $(errtyp:1) == $(2)
   23  (typ, typ):bool:parens                 $(1) == $(2)
   24  (typ, #str):bool:parens                $(1) == $(typ:2)
   25  (#str, typ):bool:parens                $(typ:1) == $(2)
   26  (str, str):negbool                     strcmp($1, $2)
   27  (small, gen):bool                      gequalsg($1, $2)
   28  (gen, small):bool                      gequalgs($1, $2)
   29  (gen, gen):bool                        gequal($1, $2)