Here you can find the source of div(double a, double b)
public static double div(double a, double b)
//package com.java2s; //License from project: Apache License public class Main { public static double div(double a, double b) { return a / b; }/*from w w w . ja va2s.c o m*/ public static double div(double a, int b) { return a / b; } public static double div(int a, double b) { return (a) / b; } public static double div(double a, long b) { return a / b; } public static double div(long a, double b) { return (a) / b; } public static double div(long a, long b) { return ((double) a) / ((double) b); } public static double div(int a, int b) { return ((double) a) / ((double) b); } }