Here you can find the source of abs(double self)
public static double abs(double self)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); public class Main { public static double abs(double self) { return Math.abs(self); }//from www .j av a 2 s.c o m }