Search:

Type: Posts; User: rosh72851

Search: Search took 0.11 seconds.

  1. Re: machine epsilon

    If I input a value of 1 into the function: Integer.toBinaryString(Float.floatToRawIntBits(value));

    I get the solution as 111111100000000000000000000000. which is definitely wrong.

    If someone...
  2. Re: machine epsilon

    Anybody. I just need to know to convert a float into binary. Not the code.
  3. Re: machine epsilon

    Ok I figured how to do that.

    Next question, how do I convert float and double data types to binary. For float, ive used the function


    Integer.toBinaryString(Float.floatToRawIntBits(value));...
  4. What would be the smallest positive float (epsilon) such that 1.0 + epsilon != 1.0f?

    What would be the smallest positive float (epsilon) such that 1.0 + epsilon != 1.0f?
    What is the condition that I have to use to attain this?
Results 1 to 4 of 4