Lines Matching refs:rounded
55 long int rounded = (long int)(d + 0.5); in lrint() local
58 if (rounded % 2 != 0) in lrint()
59 rounded += (d > 0) ? -1 : 1; in lrint()
62 return rounded; in lrint()
68 long int rounded = (long int)(f + 0.5f); in lrintf() local
71 if (rounded % 2 != 0) in lrintf()
72 rounded += (f > 0) ? -1 : 1; in lrintf()
75 return rounded; in lrintf()
81 long long int rounded = (long long int)(d + 0.5); in llrint() local
84 if (rounded % 2 != 0) in llrint()
85 rounded += (d > 0) ? -1 : 1; in llrint()
88 return rounded; in llrint()
94 long long int rounded = (long long int)(f + 0.5f); in llrintf() local
97 if (rounded % 2 != 0) in llrintf()
98 rounded += (f > 0) ? -1 : 1; in llrintf()
101 return rounded; in llrintf()