Floating pointing incrementing, not working

Disabling global interrupts is a single bit manipulation, attach/detach interrupt are not as efficient.
The operation could be done before detachInterrupt even returns.