Java Float to floatToBinaryStringUnsigned(float value)

Here you can find the source of floatToBinaryStringUnsigned(float value)

Description

float To Binary String Unsigned

License

MIT License

Declaration

public static String floatToBinaryStringUnsigned(float value) 

Method Source Code

//package com.java2s;
/**// ww  w .  ja v  a2s .c  o  m
 * Copyright (c) 2014 Sa?l Pi?a <sauljabin@gmail.com>.
 * 
 * This file is part of GeneticAlgorithm.
 * 
 * GeneticAlgorithm is licensed under The MIT License.
 * For full copyright and license information please see the LICENSE file.
 */

public class Main {
    public static String floatToBinaryStringUnsigned(float value) {
        return Integer
                .toBinaryString(Float.floatToIntBits(Math.abs(value)));
    }
}

Related

  1. floatToBasicType(float f, Class clazz)
  2. floatToChar(float[] values)
  3. floatToHalf(float f)
  4. FloatToInt(double x)
  5. floatToIntColor(float value)