/* Test of modf() function.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010-2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* A particular negative value. */
x = -5.972406760;
y = modf (x, &z);
- ASSERT (y >= -0.972406761 && y <= 0.972406759);
+ ASSERT (y >= -0.972406761 && y <= -0.972406759);
ASSERT (z == -5.0);
return 0;