Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 83) sorted by relevance

1234

/dragonfly/sys/tools/sound/
HDfeeder_eq_mkfilter.awk57 function floor(x, r) function
117 r = floor((v * FEEDEQ_COEFF_ONE) + 0.5);
238 if (floor(FEEDEQ_PREAMP_BITDB) == 6 && \
239 (1.0 * floor(gain)) == gain && (floor(gain) % 6) == 0) {
241 shift = floor(floor(gain) / 6);
245 mul = floor((attn * FEEDEQ_PREAMP_ONE) + 0.5);
249 mul = floor(mul / 2);
305 FEEDEQ_GAIN_MIN = floor(1.0 * subarg[1]);
306 FEEDEQ_GAIN_MAX = floor(1.0 * subarg[2]);
308 j = floor(1.0 * FEEDEQ_GAIN_DIV * subarg[3]);
[all …]
HDsnd_fxdiv_gen.awk30 function floor(x, r) function
50 x = floor(x / 2);
58 y = floor(FXONE / x);
65 y = floor(y / 2);
HDfeeder_rate_mkfilter.awk69 function floor(x, r) function
97 x = floor(x / 2);
110 r = floor((v * o) + 0.5);
220 y = floor(x + 3);
303 nwing = floor((nmult * num) / 2) + 1;
385 init_drift(floor(a[2]));
392 init_coeff_bit(floor(a[2]));
399 init_accum_bit(floor(a[2]));
531 xdrift = floor(drift);
558 xcbit = floor(cbit);
[all …]
/dragonfly/games/phantasia/
HDmisc.c246 … Menu[0].cost, floor(Player.p_gold / Menu[0].cost)); in tradingpost()
247 … cost = (numitems = floor(infloat())) * Menu[0].cost; in tradingpost()
263 … Menu[1].cost, floor(Player.p_gold / Menu[1].cost)); in tradingpost()
264 … cost = (numitems = floor(infloat())) * Menu[1].cost; in tradingpost()
284 … Menu[2].cost, floor(Player.p_gold / Menu[2].cost)); in tradingpost()
285 … cost = (numitems = floor(infloat())) * Menu[2].cost; in tradingpost()
299 … Player.p_brains += floor(numitems) * ROLL(20, 8); in tradingpost()
306 … Menu[3].cost, floor(Player.p_gold / Menu[3].cost)); in tradingpost()
307 … cost = (numitems = floor(infloat())) * Menu[3].cost; in tradingpost()
327 … Menu[4].cost, floor(Player.p_gold / Menu[4].cost)); in tradingpost()
[all …]
HDinterplayer.c378 Player.p_1scratch = floor(Player.p_1scratch); /* clean up any mess */ in myturn()
464 Player.p_gold = floor(Player.p_gold / 1.25) + 0.1; in tampered()
792 Enrgyvoid.ev_x = floor(temp1); in dotampered()
793 Enrgyvoid.ev_y = floor(temp2); in dotampered()
825 Player.p_gold += floor(temp1); in dotampered()
937 Player.p_gold -= floor(temp1); in dotampered()
942 Other.p_1scratch = floor(temp1); in dotampered()
943 Other.p_2scratch = floor(temp2); in dotampered()
HDmacros.h7 #define ROLL(BASE,INTERVAL) floor((BASE) + (INTERVAL) * drandom())
9 #define CIRCLE(X, Y) floor(distance(X, 0.0, Y, 0.0) / 125.0 + 1)
/dragonfly/usr.bin/calendar/
HDchinese.c128 int day = (int)floor(approx) - 1; in chinese_winter_solstice_onbefore()
146 return (int)floor(t_s); in chinese_new_moon_onafter()
160 return (int)floor(t_s); in chinese_new_moon_before()
276 int elapsed_years = (int)floor(1.5 - month/12.0 + in chinese_from_fixed()
294 int midyear = (int)floor(epoch + mean_tropical_year * in fixed_from_chinese()
323 return (int)floor(t); in chinese_qingming()
444 t_u = solar_longitude_atafter(jq2->longitude, floor(t_u)); in chinese_jieqi_onafter()
446 return (int)floor(t_u + zone); in chinese_jieqi_onafter()
563 t_jq = solar_longitude_atafter(lambda, floor(t_jq)) + zone; in show_chinese_calendar()
564 gregorian_from_fixed(floor(t_jq), &gdate); in show_chinese_calendar()
HDsun.c259 double t2 = floor(t); /* midnight */ in approx_depression_moment()
274 double t3 = floor(t); in approx_depression_moment()
369 int rd = (int)floor(t); in show_sun_info()
409 gregorian_from_fixed((int)floor(t), &date); in show_sun_info()
HDecclesiastical.c80 int n = (14 + 11 * y_mod19 - (int)floor(century * 0.75) + in easter()
HDbasics.c122 int rd = (int)floor(t); in ephemeris_correction()
365 t -= floor(t); in format_time()
HDmoon.c819 int rd = (int)floor(t); in show_moon_info()
899 gregorian_from_fixed((int)floor(t_newmoon), &date); in show_moon_info()
912 gregorian_from_fixed((int)floor(t_event), &date); in show_moon_info()
/dragonfly/sys/dev/drm/amd/display/dc/dml/
HDdml_common_defs.c35 double floor = dml_floor(a, 1); in dml_round() local
37 if (a - floor >= round_pt) in dml_round()
40 return floor; in dml_round()
/dragonfly/contrib/openbsd_libm/src/
HDs_round.c45 t = floor(x); in round()
50 t = floor(-x); in round()
HDs_floor.c30 floor(double x) in floor() function
74 __strong_alias(floorl, floor);
HDe_lgamma_r.c169 z = floor(y); in sin_pi()
172 y = 2.0*(y - floor(y)); /* y = |x| mod 2.0 */ in sin_pi()
/dragonfly/contrib/openbsd_libm/arch/amd64/
HDs_floor.S9 ENTRY(floor)
23 END(floor)
/dragonfly/tools/tools/ath/athprom/
HDeeprom-1449 | noise floor thres 0 $noiseFloorThreshCh0 |
50 | noise floor thres 1 $noiseFloorThreshCh1 |
51 | noise floor thres 2 $noiseFloorThreshCh2 |
/dragonfly/usr.bin/seq/
HDseq.c417 last = first - incr * floor((first - last) / incr); in generate_format()
419 last = first + incr * floor((last - first) / incr); in generate_format()
/dragonfly/contrib/gcc-4.7/gcc/
HDfp-test.c63 extern double floor (double);
247 d1 = floor (d2); in main()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/c_std/
Dcmath64 #undef floor
245 using ::floor;
248 floor(float __x)
252 floor(long double __x)
258 floor(_Tp __x)
/dragonfly/games/adventure/
HDglorkz54 28 You are in a low N/S passage at a hole in the floor. The hole goes
66 35 sight. A floor is indistinctly visible over 50 feet below. Traces of
67 35 white mist cover the floor of the pit, becoming thicker to the right.
79 39 the floor. There are cracks everywhere, and a passage leading east.
84 41 off the floor.
121 67 You are at the east end of the Twopit Room. The floor here is
126 68 You are in a large low circular chamber whose floor is an immense slab
171 95 through a hole in the floor. Passages exit to the south and west.
173 96 the floor with a thick pile carpet. Moss covers the ceiling.
189 103 You're in a large room carved out of sedimentary rock. The floor and
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/c_compatibility/
Dmath.h57 using std::floor;
/dragonfly/contrib/gcc-4.7/libstdc++-v3/src/c++98/
Dmath_stubs_float.cc109 return (float) floor(x); in floorf()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++98/
Dmath_stubs_long_double.cc109 return floor((double) x); in floorl()
/dragonfly/games/quiz/datfiles/
HDposneg13 floor:ceiling

1234