Floating Point operations: Software vs Hardware implementation