Compare doubles against 0.0 instead of 0

This improves generated code on Dart VM.
Merge pull request #4 from mraleph/master

Compare doubles against 0.0 instead of 0 (thanks to mraleph)