After changing the call in to , It turns out that takes the similar time Modified temp1 to pass int rather than float: So it turns out that in your first implementation you are passing to the and floating point arithmetic is complex than integer arithmetic Because the way floats are represented internally is different from ints, they are represented in 3 parts as sign , mantissa and exponent (IEEE 754) whereas representation of integer is much simple and so are operations like addition and...