[llvm-commits] [llvm] r72702 - /llvm/trunk/include/llvm/ADT/APFloat.h
Mike Stump
mrs at apple.com
Mon Jun 1 14:02:35 PDT 2009
Author: mrs
Date: Mon Jun 1 16:02:35 2009
New Revision: 72702
URL: http://llvm.org/viewvc/llvm-project?rev=72702&view=rev
Log:
Dcoument that the opauque value used to construct QNaNs is truncated
as necessary.
Modified:
llvm/trunk/include/llvm/ADT/APFloat.h
Modified: llvm/trunk/include/llvm/ADT/APFloat.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APFloat.h?rev=72702&r1=72701&r2=72702&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/APFloat.h (original)
+++ llvm/trunk/include/llvm/ADT/APFloat.h Mon Jun 1 16:02:35 2009
@@ -192,7 +192,7 @@
///
/// \param Negative - True iff the NaN generated should be negative.
/// \param type - The unspecified fill bits for creating the NaN, 0 by
- /// default.
+ /// default. The value is truncated as necessary.
static APFloat getNaN(const fltSemantics &Sem, bool Negative = false,
unsigned type = 0) {
return APFloat(Sem, fcNaN, Negative, type);
More information about the llvm-commits
mailing list