Searched refs:mpf_set_str (Results 1 - 25 of 46) sorted by relevance

12

/netbsd-current/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-conv.c1 /* Test mpf_get_str and mpf_set_str.
74 mpf_set_str (y, "1.23456", 0);
75 mpf_set_str (x, "1.23456", 10);
79 mpf_set_str (x, "00000000000000000000000000000000000000001.23456", 10);
83 mpf_set_str (x, "0.000000000000000000000000000000000000000123456e40", 10);
87 mpf_set_str (x, ".000000000000000000000000000000000000000123456e40", 10);
91 mpf_set_str (x, "00000000000000000000.00000000000000000000123456e21", 10);
96 mpf_set_str (y, "1.23456e1000", 0);
97 mpf_set_str (x, "1.23456e1000", 10);
100 mpf_set_str (
[all...]
H A Dt-int_p.c73 mpf_set_str (f, "0.5", 10);
76 mpf_set_str (f, "2.5", 10);
/netbsd-current/external/lgpl3/gmp/dist/mpf/
H A Diset_str.c42 return mpf_set_str (r, s, base);
H A Dinp_str.c85 res = mpf_set_str (rop, str, base);
H A Dset_str.c0 /* mpf_set_str (dest, string, base) -- Convert the string STRING
122 mpf_set_str (mpf_ptr x, const char *str, int base) function
/netbsd-current/external/lgpl3/mpfr/dist/tests/
H A Dtset_f.c58 mpf_set_str (y, "2033033E-3", 10); /* avoid 2033.033 which is
66 mpf_set_str (y, "-2033033E-3", 10); /* avoid -2033.033 which is
77 mpf_set_str (y, "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", -2);
H A Dmpf_compat.h113 mpf_set_str (x, "31415e-3", 10);
/netbsd-current/external/lgpl3/gmp/dist/cxx/
H A Dismpf.cc57 // C decimal point, as expected by mpf_set_str
95 // look for the C++ radix point, but put the C one in for mpf_set_str
136 ASSERT_NOCARRY (mpf_set_str(f, s.c_str(), base)); // extract the number
/netbsd-current/external/lgpl3/gmp/dist/tests/misc/
H A Dt-locale.c127 if (mpf_set_str (f, str, 10) != 0)
129 printf ("mpf_set_str error\n");
136 printf ("mpf_set_str wrong result\n");
/netbsd-current/external/lgpl3/gmp/dist/tests/rand/
H A Dgen.c331 if (mpf_set_str (f_xf, str_xf, 10) ||
332 mpf_set_str (f_xt, str_xt, 10))
H A Dfindlc.c168 mpf_set_str (low_merit, argv[1], 0);
170 mpf_set_str (high_merit, argv[2], 0);
H A Dt-rand.c216 mpf_set_str (f, a->s[i], BASE);
/netbsd-current/external/lgpl3/gmp/dist/demos/expr/
H A Dexprfa.c59 /* mpf_set_str doesn't currently accept 0x for hex in base==0, so do it
60 here instead. FIXME: Would prefer to let mpf_set_str handle this. */
137 if (mpf_set_str (res, edup, base) == 0)
H A Dt-expr.c457 if (mpf_set_str (want, data[i].want, 0) != 0)
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dmpf2mpfr.h130 #undef mpf_set_str macro
131 #define mpf_set_str(x,y,z) mpfr_set_str(x,y,z,MPFR_DEFAULT_RND) macro
/netbsd-current/external/lgpl3/gmp/dist/scanf/
H A Ddoscan.c126 For hex floats, the mantissa part is passed to mpf_set_str, then the
128 than teaching mpf_set_str about an exponent factor (ie. 2) differing
395 ASSERT_NOCARRY (mpf_set_str (f, s, hexfloat ? 16 : 10));
/netbsd-current/external/lgpl3/gmp/dist/tests/
H A Dmisc.c335 if (mpf_set_str (f, str, base) != 0)
337 fprintf (stderr, "ERROR mpf_set_str failed\n");
/netbsd-current/external/lgpl3/gmp/dist/demos/perl/
H A DGMP.xs1009 if (mpf_set_str (tmp_mpf_0->m, str, 10) != 0)
1241 if (mpf_set_str (tmp_mpf_0->m, str, 10) == 0)
1305 if (mpf_set_str (tmp_mpf_0->m, str, 10) == 0)
1361 if (mpf_set_str (tmp_mpf_0->m, str, 10) == 0)
2917 if (mpf_set_str (tmp_mpf_0->m, str, 10) != 0)
/netbsd-current/external/lgpl3/gmp/dist/
H A Dgmpxx.h2032 throw std::invalid_argument ("mpf_set_str");
2038 if (mpf_set_str(mp, s, base) != 0)
2041 throw std::invalid_argument ("mpf_set_str");
2049 throw std::invalid_argument ("mpf_set_str");
2055 if (mpf_set_str(mp, s.c_str(), base) != 0)
2058 throw std::invalid_argument ("mpf_set_str");
2086 if (mpf_set_str (mp, s, 0) != 0)
2087 throw std::invalid_argument ("mpf_set_str");
2092 if (mpf_set_str(mp, s.c_str(), 0) != 0)
2093 throw std::invalid_argument ("mpf_set_str");
[all...]
/netbsd-current/external/lgpl3/gmp/lib/libgmp/arch/coldfire/
H A Dgmp.h1400 #define mpf_set_str __gmpf_set_str macro
1401 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);
/netbsd-current/external/lgpl3/gmp/lib/libgmp/arch/or1k/
H A Dgmp.h1400 #define mpf_set_str __gmpf_set_str macro
1401 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);
/netbsd-current/external/lgpl3/gmp/lib/libgmp/arch/sh3el/
H A Dgmp.h1417 #define mpf_set_str __gmpf_set_str macro
1418 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);
/netbsd-current/external/lgpl3/gmp/lib/libgmp/arch/sh3eb/
H A Dgmp.h1417 #define mpf_set_str __gmpf_set_str macro
1418 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);
/netbsd-current/external/lgpl3/gmp/lib/libgmp/arch/sparc/
H A Dgmp.h1417 #define mpf_set_str __gmpf_set_str macro
1418 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);
/netbsd-current/external/lgpl3/gmp/lib/libgmp/arch/riscv32/
H A Dgmp.h1417 #define mpf_set_str __gmpf_set_str macro
1418 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);

Completed in 181 milliseconds

12