remove a fixme comment
This commit is contained in:
parent
f1347a3a45
commit
8c6fc860a9
3 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#include "libm.h"
|
#include "libm.h"
|
||||||
|
|
||||||
// FIXME: macro
|
// FIXME: macro in math.h
|
||||||
int __signbit(double x)
|
int __signbit(double x)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "libm.h"
|
#include "libm.h"
|
||||||
|
|
||||||
// FIXME
|
// FIXME: macro in math.h
|
||||||
int __signbitf(float x)
|
int __signbitf(float x)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ double remquo(double x, double y, int *quo)
|
||||||
hy &= 0x7fffffff; /* |y| */
|
hy &= 0x7fffffff; /* |y| */
|
||||||
|
|
||||||
/* purge off exception values */
|
/* purge off exception values */
|
||||||
// FIXME: signed shift
|
|
||||||
if ((hy|ly) == 0 || hx >= 0x7ff00000 || /* y = 0, or x not finite */
|
if ((hy|ly) == 0 || hx >= 0x7ff00000 || /* y = 0, or x not finite */
|
||||||
(hy|((ly|-ly)>>31)) > 0x7ff00000) /* or y is NaN */
|
(hy|((ly|-ly)>>31)) > 0x7ff00000) /* or y is NaN */
|
||||||
return (x*y)/(x*y);
|
return (x*y)/(x*y);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue