Here you can find the source of signum(Double d)
Parameter | Description |
---|---|
d | the d |
public static double signum(Double d)
//package com.java2s; public class Main { /**//from w w w . j ava 2 s. c om * Signum. * * @param d the d * @return the double */ public static double signum(Double d) { return Math.signum(d); } /** * Signum. * * @param f the f * @return the float */ public static float signum(Float f) { return Math.signum(f); } }