Displaying 2 results from an estimated 2 matches for "42355fbe".
2009 Mar 18
4
[LLVMdev] decimal to floating point conversion
Hi all:
I need an instruction that can convert decimal values into floating point
numbers.
i.e. say I have a decimal number 1110794174 (== 42355FBE in hex ) and (==
45.3435 as a float)
essentially the mantissa and exponent representation needs to be used.
Is there any way of doing this in llvm?
Thanks and Regards
--
-- Aparna Kotha
Graduate Student
Electrical and Computer Engineering
University of Maryland, College Park
------------...
2009 Mar 18
0
[LLVMdev] decimal to floating point conversion
aparna kotha wrote:
> Hi all:
>
> I need an instruction that can convert decimal values into floating
> point numbers.
>
> i.e. say I have a decimal number 1110794174 (== 42355FBE in hex ) and
> (== 45.3435 as a float)
>
> essentially the mantissa and exponent representation needs to be used.
>
>
> Is there any way of doing this in llvm?
I think you're looking for "bitcast i32 1110794174 to float"