added ignore for temp files *~
fixed this error:floating-point literal cannot appear in a constant-expression
Merge pull request #13 from nemogiftsun/master

Fix compilation error "floating-point literal cannot appear in a constant expression".