Home
last modified time | relevance | path

Searched refs:pstep (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/lgpl3/mpfr/dist/tune/
H A Dtuneup.c480 mpfr_prec_t pstep; in tune_simple_func() local
528 pstep = MAX(MIN(GMP_NUMB_BITS/2,(pmax-pmin)/(2*THRESHOLD_WINDOW)),1); in tune_simple_func()
530 printf ("Pmin = %8lu Pmax = %8lu Pstep=%lu\n", pmin, pmax, pstep); in tune_simple_func()
535 p+(i-THRESHOLD_WINDOW/2)*pstep); in tune_simple_func()
543 pmin = p - THRESHOLD_WINDOW/2*pstep; in tune_simple_func()
545 pmax = p + THRESHOLD_WINDOW/2*pstep; in tune_simple_func()
589 mpfr_prec_t pstep; in tune_simple_func_in_some_direction() local
657 pstep = MAX(MIN(GMP_NUMB_BITS/2,(pmax-pmin)/(2*THRESHOLD_WINDOW)),1); in tune_simple_func_in_some_direction()
659 printf ("Pmin = %8lu Pmax = %8lu Pstep=%lu\n", pmin, pmax, pstep); in tune_simple_func_in_some_direction()
664 *pres = p+(i-THRESHOLD_WINDOW/2)*pstep; in tune_simple_func_in_some_direction()
[all …]
/netbsd-src/external/mit/lua/dist/src/
H A Dlvm.c226 TValue *pstep = s2v(ra + 2); local
228 if (ttisinteger(pinit) && ttisinteger(pstep)) { /* integer loop? */
231 lua_Integer step = ivalue(pstep);
262 if (l_unlikely(!tonumber(pstep, &step)))
263 luaG_forerror(L, pstep, "step");
274 setfltvalue(pstep, step);