зеркало из https://github.com/mozilla/pjs.git
Bustage fix for bug 413787.
This commit is contained in:
Родитель
c054f1fe88
Коммит
2f45eced10
|
@ -61,6 +61,7 @@ inline NS_HIDDEN_(PRInt32) NS_lround(double x)
|
|||
/* NS_roundup30 rounds towards infinity for positive and */
|
||||
/* negative numbers. */
|
||||
|
||||
#if defined(XP_WIN32) && defined(_M_IX86) && !defined(__GNUC__)
|
||||
inline NS_HIDDEN_(PRInt32) NS_lroundup30(float x)
|
||||
{
|
||||
/* Code derived from Laurent de Soras' paper at */
|
||||
|
@ -91,6 +92,7 @@ inline NS_HIDDEN_(PRInt32) NS_lroundup30(float x)
|
|||
}
|
||||
return i >> 1; /* divide by 2 */
|
||||
}
|
||||
#endif /* XP_WIN32 && _M_IX86 && !__GNUC__ */
|
||||
|
||||
inline NS_HIDDEN_(PRInt32) NS_lroundf(float x)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче