Home
last modified time | relevance | path

Searched refs:mpf_set_str (Results 1 – 25 of 54) sorted by relevance

123

/netbsd/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-conv.c74 mpf_set_str (y, "1.23456", 0); in main()
75 mpf_set_str (x, "1.23456", 10); in main()
79 mpf_set_str (x, "00000000000000000000000000000000000000001.23456", 10); in main()
87 mpf_set_str (x, ".000000000000000000000000000000000000000123456e40", 10); in main()
96 mpf_set_str (y, "1.23456e1000", 0); in main()
97 mpf_set_str (x, "1.23456e1000", 10); in main()
100 mpf_set_str (x, "1.23456e+1000", 0); in main()
103 mpf_set_str (x, "1.23456e+1000", 10); in main()
123 mpf_set_str (y, "1.23456", 16); in main()
124 mpf_set_str (x, "00000000000000000000000000000000000000001.23456", 16); in main()
[all …]
H A Dt-int_p.c73 mpf_set_str (f, "0.5", 10); in main()
76 mpf_set_str (f, "2.5", 10); in main()
/netbsd/external/lgpl3/mpfr/dist/tests/
H A Dtset_f.c58 mpf_set_str (y, "2033033E-3", 10); /* avoid 2033.033 which is in main()
66 mpf_set_str (y, "-2033033E-3", 10); /* avoid -2033.033 which is in main()
77mpf_set_str (y, "111111111111111111111111111111111111111111111111111111111111111111111111111111111… in main()
H A Dmpf_compat.h113 mpf_set_str (x, "31415e-3", 10); in main()
/netbsd/external/lgpl3/gmp/dist/tests/rand/
H A Dfindlc.c168 mpf_set_str (low_merit, argv[1], 0); in main()
170 mpf_set_str (high_merit, argv[2], 0); in main()
H A Dgen.c331 if (mpf_set_str (f_xf, str_xf, 10) ||
332 mpf_set_str (f_xt, str_xt, 10))
H A Dt-rand.c216 mpf_set_str (f, a->s[i], BASE); in main()
/netbsd/external/lgpl3/gmp/dist/mpf/
H A Diset_str.c42 return mpf_set_str (r, s, base); in mpf_init_set_str()
H A Dinp_str.c85 res = mpf_set_str (rop, str, base); in mpf_inp_str()
H A Dset_str.c122 mpf_set_str (mpf_ptr x, const char *str, int base) in mpf_set_str() function
/netbsd/external/lgpl3/mpfr/dist/src/
H A Dmpf2mpfr.h130 #undef mpf_set_str
131 #define mpf_set_str(x,y,z) mpfr_set_str(x,y,z,MPFR_DEFAULT_RND) macro
/netbsd/external/lgpl3/gmp/dist/cxx/
H A Dismpf.cc136 ASSERT_NOCARRY (mpf_set_str(f, s.c_str(), base)); // extract the number in operator >>()
/netbsd/external/lgpl3/gmp/dist/tests/misc/
H A Dt-locale.c127 if (mpf_set_str (f, str, 10) != 0) in check_input()
/netbsd/external/lgpl3/gmp/dist/demos/expr/
H A Dexprfa.c137 if (mpf_set_str (res, edup, base) == 0) in e_mpf_number()
H A Dt-expr.c457 if (mpf_set_str (want, data[i].want, 0) != 0) in check_f()
/netbsd/external/lgpl3/gmp/dist/scanf/
H A Ddoscan.c395 ASSERT_NOCARRY (mpf_set_str (f, s, hexfloat ? 16 : 10)); in gmpscan()
/netbsd/external/lgpl3/gmp/dist/tests/
H A Dmisc.c335 if (mpf_set_str (f, str, base) != 0) in mpf_set_str_or_abort()
/netbsd/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/external/lgpl3/gmp/dist/
H A DNEWS43 * mpf_set_str could create invalid mpf_t variables for input strings with
650 * Fixed overflow issues in mpz_set_str, mpz_inp_str, mpf_set_str, and
724 * Fix an allocation bug in mpf_set_str, also affecting mpf_init_set_str, and
745 * Bases > 36 now work properly in mpf_set_str.
H A Dgmpxx.h2038 if (mpf_set_str(mp, s, base) != 0)
2055 if (mpf_set_str(mp, s.c_str(), base) != 0)
2086 if (mpf_set_str (mp, s, 0) != 0)
2092 if (mpf_set_str(mp, s.c_str(), 0) != 0)
2099 { return mpf_set_str(mp, s, base); }
2101 { return mpf_set_str(mp, s.c_str(), base); }
/netbsd/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/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/external/lgpl3/gmp/lib/libgmp/arch/alpha/
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/external/lgpl3/gmp/lib/libgmp/arch/arm/
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/external/lgpl3/gmp/lib/libgmp/arch/armeb/
H A Dgmp.h1417 #define mpf_set_str __gmpf_set_str macro
1418 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);

123