added support in scala lib for float ops