Changeset 89 in tspsg-svn for trunk/src/globals.h


Ignore:
Timestamp:
Jan 12, 2010, 4:27:52 PM (14 years ago)
Author:
laleppa
Message:

Back to double to maintain compatibility between platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/globals.h

    r87 r89  
    9696 * \return \c true if \a x countains an integer, oherwise \c false.
    9797 */
    98 inline bool isInteger(qreal x)
     98inline bool isInteger(double x)
    9999{
    100 qreal i;
     100double i;
    101101        return (modf(x, &i) == 0.0);
    102102}
Note: See TracChangeset for help on using the changeset viewer.