Searched refs:SQRT_3_4 (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11Renderer.c812 #define SQRT_3_4 0.86602540378443864676 macro
814 int adjw = (int) ((SQRT_3_4 * w - ((w&1)-1)) * 0.5);
819 int adjh = (int) ((SQRT_3_4 * h - ((h&1)-1)) * 0.5);
824 #undef SQRT_3_4 macro
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp522 #define SQRT_3_4 0.86602540378443864676 macro
524 int adjw = (int) ((SQRT_3_4 * w - ((w&1)-1)) * 0.5);
529 int adjh = (int) ((SQRT_3_4 * h - ((h&1)-1)) * 0.5);
534 #undef SQRT_3_4 macro

Completed in 33 milliseconds