CodePudding user response:
The operator/computing results for forever for floating point typesCodePudding user response:
Because you list nums index for floating point Numbers, change the way you can use the nums [int ((size + 1)/2)]CodePudding user response:
Similarly middle function inside the other so also need to use the int () the index by floating-point integer instead