Changeset e4ae9e95f7 in tspsg for src/globals.h


Ignore:
Timestamp:
Jan 12, 2010, 4:27:52 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
3e46075789
Parents:
fcd8c1e4c1
Message:

Back to double to maintain compatibility between platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/globals.h

    rfcd8c1e4c1 re4ae9e95f7  
    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.