You are viewing a single comment's thread. Return to all comments →
The return you get from Math.pow is in doubleand you're comparing it with x i.e.long. Can we do it? Don't you think there's flaw here? If no! Could you please explain why? Using MIN and MAX is the best option I suppose.