/netbsd-current/external/lgpl3/gmp/dist/tests/mpf/ |
H A D | t-conv.c | 1 /* 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 D | t-int_p.c | 73 mpf_set_str (f, "0.5", 10); 76 mpf_set_str (f, "2.5", 10);
|
/netbsd-current/external/lgpl3/gmp/dist/mpf/ |
H A D | iset_str.c | 42 return mpf_set_str (r, s, base);
|
H A D | inp_str.c | 85 res = mpf_set_str (rop, str, base);
|
H A D | set_str.c | 0 /* 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 D | tset_f.c | 58 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 D | mpf_compat.h | 113 mpf_set_str (x, "31415e-3", 10);
|
/netbsd-current/external/lgpl3/gmp/dist/cxx/ |
H A D | ismpf.cc | 57 // 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 D | t-locale.c | 127 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 D | gen.c | 331 if (mpf_set_str (f_xf, str_xf, 10) || 332 mpf_set_str (f_xt, str_xt, 10))
|
H A D | findlc.c | 168 mpf_set_str (low_merit, argv[1], 0); 170 mpf_set_str (high_merit, argv[2], 0);
|
H A D | t-rand.c | 216 mpf_set_str (f, a->s[i], BASE);
|
/netbsd-current/external/lgpl3/gmp/dist/demos/expr/ |
H A D | exprfa.c | 59 /* 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 D | t-expr.c | 457 if (mpf_set_str (want, data[i].want, 0) != 0)
|
/netbsd-current/external/lgpl3/mpfr/dist/src/ |
H A D | mpf2mpfr.h | 130 #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 D | doscan.c | 126 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 D | misc.c | 335 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 D | GMP.xs | 1009 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 D | gmpxx.h | 2032 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 D | gmp.h | 1400 #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 D | gmp.h | 1400 #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 D | gmp.h | 1417 #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 D | gmp.h | 1417 #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 D | gmp.h | 1417 #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 D | gmp.h | 1417 #define mpf_set_str __gmpf_set_str macro 1418 __GMP_DECLSPEC int mpf_set_str (mpf_ptr, const char *, int);
|