floatToIntBits « float « Java Data Type Q&A

Home
Java Data Type Q&A
1.bigdecimal
2.biginteger
3.bit
4.Boolean
5.byte
6.Calendar
7.cast
8.character
9.Date Time
10.Date Time Format
11.decimal
12.Development
13.double
14.enum
15.float
16.hexadecimal
17.Integer
18.Number
19.Number Format
20.primitive
21.SimpleDateFormat
22.string
23.StringBuffer
24.StringBuilder
25.StringTokenizer
26.substring
27.TimeZone
Java Data Type Q&A » float » floatToIntBits 

1. java's Float.floatToIntBits implementation code in C\C++    stackoverflow.com

I want the source code for java's Float.floatToIntBits() implementation code in C\C++. Regards, Rajan.M

2. Float.floatToIntBits( float )    coderanch.com

Hi, Marilyn. I looked up the code in java.lang.Float; it's a native method, but here are the comments that go along with it: /** * Returns the bit represention of a single-float value. * The result is a representation of the floating-point argument * according to the IEEE 754 floating-point "single * precision" bit layout. *

    * [list]Bit 31 (the ...

3. floatToIntBits( float f ) not working for Floating Point Format    forums.oracle.com

The assignment is to take the user input String and display it as an IEEE-754 Standard Floating Point Number (with some other details, like the exponent, mantissa, etc.). The professor's code to get us started is: float f = Float.parseFloat (user_input_string ); int bits = Float.floatToIntBits( f ); I was so frustrated I decided to take a better look at my ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.