Changeset e4ae9e95f7 in tspsg for src/globals.h
- Timestamp:
- Jan 12, 2010, 4:27:52 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 3e46075789
- Parents:
- fcd8c1e4c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
rfcd8c1e4c1 re4ae9e95f7 96 96 * \return \c true if \a x countains an integer, oherwise \c false. 97 97 */ 98 inline bool isInteger( qrealx)98 inline bool isInteger(double x) 99 99 { 100 qreali;100 double i; 101 101 return (modf(x, &i) == 0.0); 102 102 }
Note: See TracChangeset
for help on using the changeset viewer.