I have an algorithm written in Java that I would like to make more efficient. A part that I think could be made more efficient is finding the smallest of 3 numbers. Currentl
It all looks ok, your code will be fine, unless you're doing this in a tight loop. I also would consider
double min; min = (a