HomeSort by: relevance | last modified time | path
    Searched defs:mpfr_sgn (Results 1 - 3 of 3) sorted by relevancy

  /src/external/lgpl3/mpfr/dist/src/
sgn.c 0 /* mpfr_sgn -- Sign of a floating point number.
26 (mpfr_sgn) (mpfr_srcptr a) function
mpfr.h 220 The mpfr_sgn macro uses the fact that __MPFR_EXP_NAN and __MPFR_EXP_ZERO
651 __MPFR_DECLSPEC int mpfr_sgn (mpfr_srcptr);
893 /* mpfr_sgn is documented as a macro, thus the following code is fine.
896 #define mpfr_sgn(_x) \ macro
956 /* We use the fact that mpfr_sgn on NaN sets the erange flag and returns 0.
957 But warning! mpfr_sgn is specified as a macro in the API, thus the macro
961 (mpfr_sgn) (_f) : \
  /src/external/lgpl3/mpfr/dist/tests/
mpfr-test.h 166 /* In the tests, mpfr_sgn was sometimes used incorrectly, for instance:
168 * if (mpfr_cmp_ui (y, 0) || mpfr_sgn (y) < 0)
170 * to check that y is +0. This does not make sense since on 0, mpfr_sgn
172 * that mpfr_sgn is not used incorrectly, we choose to fail when this
175 * in tsgn (to test mpfr_sgn itself).
178 # undef mpfr_sgn macro
179 # define mpfr_sgn(x) \ macro

Completed in 53 milliseconds