Searched refs:floor (Results 26 - 50 of 56) sorted by relevance

123

/haiku/headers/libs/mapm/
H A Dm_apm.h90 * add floor and ceil functions
585 MAPM floor(void) const function in class:MAPM
616 inline MAPM floor(const MAPM &m) {return m.floor();} function
/haiku/src/apps/sudoku/
H A DSudokuView.cpp1090 hintX = (uint32)floor((where.x - leftTop.x) / fHintWidth);
1091 hintY = (uint32)floor((where.y - leftTop.y) / fHintHeight);
1104 x = (uint32)floor(where.x / block);
1105 uint32 offsetX = (uint32)floor((where.x - x * block) / fWidth);
1109 y = (uint32)floor(where.y / block);
1110 uint32 offsetY = (uint32)floor((where.y - y * block) / fHeight);
/haiku/src/bin/pcmcia-cs/
H A Dyacc_cis.y164 $2 -= floor($2+0.01);
165 while (fabs($2 - floor($2+0.5)) > 0.01) {
/haiku/src/system/libroot/posix/glibc/math/bits/
H A Dmathcalls.h168 __MATHCALL (floor,, (_Mdouble_ __x));
/haiku/src/servers/print/
H A DConfigWindow.cpp106 w = floor(w + 0.5); h = floor(h + 0.5);
/haiku/src/apps/mandelbrot/
H A DFractalEngine.cpp260 // floor(height/2)*2 = height-height%2.
477 return static_cast<int32>(floor(4 * log(4 / closest)));
479 return static_cast<int32>(floor(4 * log(4 / closest)));
/haiku/src/tests/kits/interface/layout/
H A DLayoutTest1.cpp199 float height = floor((width + 1) * fAspectRatio) - 1;
228 float preferredWidth = floor(fSum / 2) - 1;
266 float preferredWidth = floor(sqrt(fProduct));
275 float height = floor(fProduct / (width + 1)) - 1;
/haiku/src/add-ons/screen_savers/ifs/
H A DIFSSaver.cpp152 SetTickSize((bigtime_t)floor(1000000.0 / fps + 0.5));
/haiku/src/libs/agg/font_freetype/
H A Dagg_font_freetype.cpp976 m_bounds.x1 = int(floor(bnd.x1));
977 m_bounds.y1 = int(floor(bnd.y1));
997 m_bounds.x1 = int(floor(bnd.x1));
998 m_bounds.y1 = int(floor(bnd.y1));
/haiku/src/system/libroot/posix/musl/math/
H A Dlgamma_r.c154 x = 2.0*(x*0.5 - floor(x*0.5)); /* x mod 2.0 */
H A D__rem_pio2_large.c39 * x[i] = floor(z)
70 * double scalbn(), floor();
310 z -= 8.0*floor(z*0.125); /* trim off integer >= 8 */
/haiku/src/kits/interface/
H A DDecimalSpinner.cpp22 return floor(value * pow(10.0, n) + 0.5) / pow(10.0, n);
H A DSlider.cpp1188 frame.left = floor((frame.Width() - fBarThickness) / 2) - 4;
1639 loc.y = floor(_MaxPosition() - pos);
H A DColumnListView.cpp1639 float baseline = floor(rect.top + fh.ascent
2674 float baseline = floor(drawRect.top + fh.ascent
2737 upperLeft.y = baseline - bmh + floor((fh.ascent + fh.descent - bmh) / 2);
3419 float baseline = floor(fieldRect.top + fh.ascent
3456 float baseline = floor(destRect.top + fh.ascent
3608 float baseline = floor(destRect.top + fh.ascent
/haiku/src/servers/app/font/
H A DFontEngine.cpp570 fBounds.x1 = int(floor(bounds.x1));
571 fBounds.y1 = int(floor(bounds.y1));
/haiku/src/apps/serialconnect/
H A DTermView.cpp367 rect.start_col = (int)floor(pixels.left / fFontWidth);
369 rect.start_row = (int)floor(pixels.top / fFontHeight);
/haiku/src/libs/icon/
H A DIconRenderer.cpp388 *x = floor(*x + 0.5);
389 *y = floor(*y + 0.5);
/haiku/src/kits/interface/layouter/
H A DSimpleLayouter.cpp17 # define lround(x) (long)floor((x) + 0.5)
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaRoutingView.cpp1833 float bigStep = floor(MediaNodePanel::M_DEFAULT_WIDTH + M_CLEANUP_H_GAP);
1834 scrollBar->SetSteps(floor(bigStep / 10.0), bigStep);
1840 float bigStep = floor(MediaNodePanel::M_DEFAULT_HEIGHT + M_CLEANUP_V_GAP);
1841 scrollBar->SetSteps(floor(bigStep / 10.0), bigStep);
/haiku/headers/posix/
H A Dmath.h215 extern double floor(double x);
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js473 var left = Math.floor(this.left);
474 var top = Math.floor(this.top);
760 var value = (source[Math.floor(i / 8)] >> i % 8) & 1 ? 255 : 0;
/haiku/src/kits/shared/
H A DExpressionParser.cpp669 } else if (strcasecmp("floor", token.string.String()) == 0) {
671 return _ParseFactorial(values[0].floor());
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp839 int32 containingBlock = int32(floor(point.x / blockWidth));
/haiku/src/apps/cortex/addons/Flanger/
H A DFlangerNode.cpp1478 int32 readFrameLo = (int32)floor(fReadFrame);
/haiku/src/servers/app/decorator/
H A DTabDecorator.cpp797 float delta = floor(location - tab->tabOffset);

Completed in 309 milliseconds

123