Symbol: floor
bin/sleep/sleep.c
141
ival = floor(val);
dist/pf/sbin/pfctl/parse.y
2152
p = floor(p * (UINT_MAX+1.0) + 0.5);
games/phantasia/fight.c
300
Player.p_experience += floor(Curmonster.m_experience / 10.0);
games/phantasia/fight.c
454
inflict = MIN(Player.p_mana, floor(inflict));
games/phantasia/fight.c
578
floor((Curmonster.m_o_energy - Curmonster.m_energy) / 2.0);
games/phantasia/fight.c
720
dtemp = floor(infloat());
games/phantasia/interplayer.c
356
Player.p_1scratch = floor(Player.p_1scratch); /* clean up any mess */
games/phantasia/interplayer.c
418
Player.p_gold = floor(Player.p_gold / 1.25) + 0.1;
games/phantasia/interplayer.c
708
Enrgyvoid.ev_x = floor(temp1);
games/phantasia/interplayer.c
709
Enrgyvoid.ev_y = floor(temp2);
games/phantasia/interplayer.c
741
Player.p_gold += floor(temp1);
games/phantasia/interplayer.c
855
Player.p_gold -= floor(temp1);
games/phantasia/interplayer.c
860
Other.p_1scratch = floor(temp1);
games/phantasia/interplayer.c
861
Other.p_2scratch = floor(temp2);
games/phantasia/macros.h
7
#define ROLL(BASE,INTERVAL) floor((BASE) + (INTERVAL) * drandom())
games/phantasia/macros.h
9
#define CIRCLE(X, Y) floor(distance(X, 0.0, Y, 0.0) / 125.0 + 1)
games/phantasia/main.c
241
if (floor(dtemp) == dtemp)
games/phantasia/main.c
837
temp = floor(infloat());
games/phantasia/misc.c
1039
dtemp = floor(taxes / N_GEMVALUE + 1.0); /* number of gems to
games/phantasia/misc.c
1062
dtemp += floor(taxes);
games/phantasia/misc.c
232
Menu[0].cost, floor(Player.p_gold / Menu[0].cost));
games/phantasia/misc.c
233
cost = (numitems = floor(infloat())) * Menu[0].cost;
games/phantasia/misc.c
249
Menu[1].cost, floor(Player.p_gold / Menu[1].cost));
games/phantasia/misc.c
250
cost = (numitems = floor(infloat())) * Menu[1].cost;
games/phantasia/misc.c
272
Menu[2].cost, floor(Player.p_gold / Menu[2].cost));
games/phantasia/misc.c
273
cost = (numitems = floor(infloat())) * Menu[2].cost;
games/phantasia/misc.c
288
Player.p_brains += floor(numitems) * ROLL(20, 8);
games/phantasia/misc.c
295
Menu[3].cost, floor(Player.p_gold / Menu[3].cost));
games/phantasia/misc.c
296
cost = (numitems = floor(infloat())) * Menu[3].cost;
games/phantasia/misc.c
318
Menu[4].cost, floor(Player.p_gold / Menu[4].cost));
games/phantasia/misc.c
319
cost = (numitems = floor(infloat())) * Menu[4].cost;
games/phantasia/misc.c
335
Menu[5].cost, floor(Player.p_gold / Menu[5].cost));
games/phantasia/misc.c
336
cost = (numitems = floor(infloat())) * Menu[5].cost;
games/phantasia/misc.c
383
numitems = floor(infloat());
games/phantasia/misc.c
705
return (floor(pow((experience / 1000.0), 0.4875)));
games/phantasia/misc.c
707
return (floor(pow((experience / 1250.0), 0.4865)));
games/phantasia/misc.c
754
Circle = CIRCLE(Player.p_x = floor(xnew), Player.p_y = floor(ynew));
games/phantasia/misc.c
822
Player.p_gold = floor(Player.p_gold) + 0.1;
games/phantasia/misc.c
823
Player.p_gems = floor(Player.p_gems) + 0.1;
games/phantasia/misc.c
824
Player.p_mana = floor(Player.p_mana) + 0.1;
include/math.h
264
double floor(double);
include/tgmath.h
158
#define floor(a) __TG_FN1(floor, (a))
lib/libm/noieee_src/n_floor.c
232
return x < 0 ? ceil(x) : floor(x);
lib/libm/noieee_src/n_floor.c
49
__weak_alias(floorl, floor)
lib/libm/noieee_src/n_floor.c
61
floor(double x)
lib/libm/noieee_src/n_floor.c
83
return floor((double)x);
lib/libm/noieee_src/n_floor.c
98
return -floor(-x);
lib/libm/noieee_src/n_gamma.c
296
y = floor(x + .5);
lib/libm/noieee_src/n_lgamma.c
299
z = floor(x + .5);
lib/libm/src/e_lgamma_r.c
174
z = floor(y);
lib/libm/src/e_lgamma_r.c
177
y = 2.0*(y - floor(y)); /* y = |x| mod 2.0 */
lib/libm/src/k_rem_pio2.c
341
z -= 8.0*floor(z*0.125); /* trim off integer >= 8 */
lib/libm/src/s_floor.c
31
__strong_alias(_floorl, floor)
lib/libm/src/s_floor.c
32
__weak_alias(floorl, floor)
lib/libm/src/s_round.c
53
t = floor(x);
lib/libm/src/s_round.c
59
t = floor(x);
lib/libm/src/w_gamma.c
37
if(floor(x)==x&&x<=0.0)
lib/libm/src/w_gamma_r.c
35
if(floor(x)==x&&x<=0.0)
lib/libm/src/w_lgamma.c
37
if(floor(x)==x&&x<=0.0)
lib/libm/src/w_lgamma_r.c
35
if(floor(x)==x&&x<=0.0)
lib/lua/libm/libm.c
127
DFUNC_DBL(floor)
tests/lib/libm/t_ceil.c
332
ATF_CHECK(floor(x) < SMALL_NUM);
tests/lib/libm/t_ceil.c
333
ATF_CHECK(floor(y) < SMALL_NUM);
tests/lib/libm/t_ceil.c
346
ATF_CHECK(isnan(floor(x)) != 0);
tests/lib/libm/t_ceil.c
358
double y = floor(x);
tests/lib/libm/t_ceil.c
373
double y = floor(x);
tests/lib/libm/t_ceil.c
388
double y = floor(x);
tests/lib/libm/t_ceil.c
403
double y = floor(x);
tests/lib/lua/libm/h_lualibm.c
52
TEST(floor(M_PI));
tests/lib/lua/libm/h_lualibm.c
53
TEST(floor(M_E));
usr.bin/jot/jot.c
309
printf(format, (long)floor(x));
usr.bin/lastcomm/lastcomm.c
148
floor(delta / SECSPERHOUR),
usr.bin/lastcomm/lastcomm.c
149
floor(fmod(delta, SECSPERHOUR) / SECSPERMIN),
usr.bin/seq/seq.c
493
last = first - incr * floor((first - last) / incr);
usr.bin/seq/seq.c
495
last = first + incr * floor((last - first) / incr);
usr.bin/systat/bufcache.c
227
pgwidth = (int)(floor(log10((double)uvmexp.npages)) + 1);
usr.bin/systat/bufcache.c
228
kbwidth = (int)(floor(log10(uvmexp.npages * getpagesize() / 1024.0)) +
usr.sbin/iostat/iostat.c
626
MAX(0, 3 - (int)floor(log10(fmax(1.0, mbps)))), mbps);
usr.sbin/iostat/iostat.c
640
MAX(0, 3 - (int)floor(log10(fmax(1.0, mbps)))), mbps);
usr.sbin/tprof/tprof.c
246
ival = floor(interval);