Symbol: floor
games/phantasia/fight.c
358
Player.p_experience += floor(Curmonster.m_experience / 10.0);
games/phantasia/fight.c
539
inflict = MIN(Player.p_mana, floor(inflict));
games/phantasia/fight.c
662
floor((Curmonster.m_o_energy - Curmonster.m_energy) / 2.0);
games/phantasia/fight.c
879
dtemp = floor(infloat());
games/phantasia/interplayer.c
1069
Player.p_gold -= floor(temp1);
games/phantasia/interplayer.c
1074
Other.p_1scratch = floor(temp1);
games/phantasia/interplayer.c
1075
Other.p_2scratch = floor(temp2);
games/phantasia/interplayer.c
431
Player.p_1scratch = floor(Player.p_1scratch); /* clean up any mess */
games/phantasia/interplayer.c
545
Player.p_gold = floor(Player.p_gold / 1.25) + 0.1;
games/phantasia/interplayer.c
922
Enrgyvoid.ev_x = floor(temp1);
games/phantasia/interplayer.c
923
Enrgyvoid.ev_y = floor(temp2);
games/phantasia/interplayer.c
955
Player.p_gold += floor(temp1);
games/phantasia/macros.h
10
#define CIRCLE(X, Y) floor(distance(X, 0.0, Y, 0.0) / 125.0 + 1)
games/phantasia/macros.h
8
#define ROLL(BASE,INTERVAL) floor((BASE) + (INTERVAL) * drandom())
games/phantasia/main.c
230
if (floor(dtemp) == dtemp)
games/phantasia/main.c
970
temp = floor(infloat());
games/phantasia/misc.c
1005
return (floor(pow((experience / 1000.0), 0.4875)));
games/phantasia/misc.c
1007
return (floor(pow((experience / 1250.0), 0.4865)));
games/phantasia/misc.c
1104
Circle = CIRCLE(Player.p_x = floor(xnew), Player.p_y = floor(ynew));
games/phantasia/misc.c
1218
Player.p_gold = floor(Player.p_gold) + 0.1;
games/phantasia/misc.c
1219
Player.p_gems = floor(Player.p_gems) + 0.1;
games/phantasia/misc.c
1220
Player.p_mana = floor(Player.p_mana) + 0.1;
games/phantasia/misc.c
1589
dtemp = floor(taxes / N_GEMVALUE + 1.0); /* number of gems to
games/phantasia/misc.c
1612
dtemp += floor(taxes);
games/phantasia/misc.c
296
Menu[0].cost, floor(Player.p_gold / Menu[0].cost));
games/phantasia/misc.c
297
cost = (numitems = floor(infloat())) * Menu[0].cost;
games/phantasia/misc.c
313
Menu[1].cost, floor(Player.p_gold / Menu[1].cost));
games/phantasia/misc.c
314
cost = (numitems = floor(infloat())) * Menu[1].cost;
games/phantasia/misc.c
334
Menu[2].cost, floor(Player.p_gold / Menu[2].cost));
games/phantasia/misc.c
335
cost = (numitems = floor(infloat())) * Menu[2].cost;
games/phantasia/misc.c
349
Player.p_brains += floor(numitems) * ROLL(20, 8);
games/phantasia/misc.c
356
Menu[3].cost, floor(Player.p_gold / Menu[3].cost));
games/phantasia/misc.c
357
cost = (numitems = floor(infloat())) * Menu[3].cost;
games/phantasia/misc.c
377
Menu[4].cost, floor(Player.p_gold / Menu[4].cost));
games/phantasia/misc.c
378
cost = (numitems = floor(infloat())) * Menu[4].cost;
games/phantasia/misc.c
394
Menu[5].cost, floor(Player.p_gold / Menu[5].cost));
games/phantasia/misc.c
395
cost = (numitems = floor(infloat())) * Menu[5].cost;
games/phantasia/misc.c
440
numitems = floor(infloat());
include/math.h
196
double floor(double);
include/tgmath.h
131
#define floor(x) __tg_simple(x, floor)
lib/libkeynote/keynote.y
378
$$ = (int) floor(atof($2));
lib/libm/arch/hppa/s_floor.c
24
DEF_STD(floor);
lib/libm/arch/hppa/s_floor.c
25
LDBL_CLONE(floor);
lib/libm/hidden/math.h
84
PROTO_NORMAL(floor);
lib/libm/src/e_lgamma_r.c
169
z = floor(y);
lib/libm/src/e_lgamma_r.c
172
y = 2.0*(y - floor(y)); /* y = |x| mod 2.0 */
lib/libm/src/k_rem_pio2.c
319
z -= 8.0*floor(z*0.125); /* trim off integer >= 8 */
lib/libm/src/s_floor.c
72
DEF_STD(floor);
lib/libm/src/s_floor.c
73
LDBL_MAYBE_CLONE(floor);
lib/libm/src/s_round.c
43
t = floor(x);
lib/libm/src/s_round.c
48
t = floor(-x);
regress/lib/libm/cephes/monot.c
59
double floor (double);
regress/lib/libm/cephes/testvect.c
258
{"floor", floor, &NAN, &NAN, 0},
regress/lib/libm/cephes/testvect.c
259
{"floor", floor, &ZERO, &ZERO, 0},
regress/lib/libm/cephes/testvect.c
260
{"floor", floor, &MZERO, &MZERO, 0},
regress/lib/libm/cephes/testvect.c
261
{"floor", floor, &INF, &INF, 0},
regress/lib/libm/cephes/testvect.c
262
{"floor", floor, &MINF, &MINF, 0},
regress/lib/libm/cephes/testvect.c
74
double floor (double);
regress/lib/libm/complex/complex.c
13
floor((__real__ (f)) * PREC) == floor((r) * PREC) && \
regress/lib/libm/complex/complex.c
14
floor((__imag__ (f)) * PREC) == floor((i) * PREC) \
regress/lib/libm/floor/floor.c
35
if (floor(4294967295.7) != 4294967295.)
regress/lib/libm/tgamma/tgamma.c
63
if (floor(x) != 3628800.0)
regress/lib/libm/tgamma/tgamma.c
67
if (floor(x * 100) != 332.0)
regress/lib/libm/tgamma/tgamma.c
71
if (floor(x * 100) != -355.0)
sbin/pfctl/parse.y
2454
p = floor($2 * UINT_MAX + 0.5);
sys/arch/amd64/amd64/intr.c
538
int floor;
sys/arch/amd64/amd64/intr.c
562
floor = ci->ci_handled_intr_level;
sys/arch/amd64/amd64/intr.c
565
ci->ci_handled_intr_level = floor;
sys/arch/amd64/amd64/intr.c
855
int floor;
sys/arch/amd64/amd64/intr.c
857
floor = ci->ci_handled_intr_level;
sys/arch/amd64/amd64/intr.c
862
ci->ci_handled_intr_level = floor;
sys/arch/amd64/amd64/ipi.c
110
ci->ci_handled_intr_level = floor;
sys/arch/amd64/amd64/ipi.c
96
int floor;
sys/arch/amd64/amd64/ipi.c
98
floor = ci->ci_handled_intr_level;
sys/arch/amd64/amd64/lapic.c
477
int floor;
sys/arch/amd64/amd64/lapic.c
479
floor = ci->ci_handled_intr_level;
sys/arch/amd64/amd64/lapic.c
482
ci->ci_handled_intr_level = floor;
sys/arch/amd64/amd64/machdep.c
2062
int floor = curcpu()->ci_handled_intr_level;
sys/arch/amd64/amd64/machdep.c
2067
if (floor > wantipl) {
sys/arch/amd64/amd64/machdep.c
2068
splassert_fail(wantipl, floor, func);
sys/dev/pci/drm/amd/display/dc/dml2/display_mode_util.c
187
double floor = dml_floor(val, 1);
sys/dev/pci/drm/amd/display/dc/dml2/display_mode_util.c
189
if (val - floor >= round_pt)
sys/dev/pci/drm/amd/display/dc/dml2/display_mode_util.c
192
return floor;
usr.bin/seq/seq.c
379
last = first - incr * floor((first - last) / incr);
usr.bin/seq/seq.c
381
last = first + incr * floor((last - first) / incr);