mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 18:20:39 +00:00
Add some documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -188,8 +188,13 @@ namespace llvm {
|
|||||||
static APFloat getInf(const fltSemantics &Sem, bool Negative = false) {
|
static APFloat getInf(const fltSemantics &Sem, bool Negative = false) {
|
||||||
return APFloat(Sem, fcInfinity, Negative);
|
return APFloat(Sem, fcInfinity, Negative);
|
||||||
}
|
}
|
||||||
|
/// getNaN - Factory for QNaN values.
|
||||||
|
///
|
||||||
|
/// \param Negative - True iff the NaN generated should be negative.
|
||||||
|
/// \param type - The unspecified fill bits for creating the NaN, 0 by
|
||||||
|
/// default.
|
||||||
static APFloat getNaN(const fltSemantics &Sem, bool Negative = false,
|
static APFloat getNaN(const fltSemantics &Sem, bool Negative = false,
|
||||||
long unsigned type=0) {
|
unsigned type = 0) {
|
||||||
return APFloat(Sem, fcNaN, Negative, type);
|
return APFloat(Sem, fcNaN, Negative, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user