mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
wrap long lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
adea46ed61
commit
ad78500712
@ -2839,7 +2839,8 @@ APFloat::bitcastToAPInt() const
|
||||
float
|
||||
APFloat::convertToFloat() const
|
||||
{
|
||||
assert(semantics == (const llvm::fltSemantics*)&IEEEsingle && "Float semantics are not IEEEsingle");
|
||||
assert(semantics == (const llvm::fltSemantics*)&IEEEsingle &&
|
||||
"Float semantics are not IEEEsingle");
|
||||
APInt api = bitcastToAPInt();
|
||||
return api.bitsToFloat();
|
||||
}
|
||||
@ -2847,7 +2848,8 @@ APFloat::convertToFloat() const
|
||||
double
|
||||
APFloat::convertToDouble() const
|
||||
{
|
||||
assert(semantics == (const llvm::fltSemantics*)&IEEEdouble && "Float semantics are not IEEEdouble");
|
||||
assert(semantics == (const llvm::fltSemantics*)&IEEEdouble &&
|
||||
"Float semantics are not IEEEdouble");
|
||||
APInt api = bitcastToAPInt();
|
||||
return api.bitsToDouble();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user