compiler: implement compile-time expression with float numbers (issue #10670), better handling of integer expressions too git-svn-id: trunk@25461 -