Here you can find the source of invertFloat(float n)
public final static float invertFloat(float n)
//package com.java2s; //License from project: Open Source License public class Main { public final static float invertFloat(float n) { return (n * -1); }/*from ww w.ja va2 s . co m*/ }