summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-06-01 21:02:35 +0000
committerMike Stump <mrs@apple.com>2009-06-01 21:02:35 +0000
commit245fa0744fc321e4407ec1cb5ba06b9fb37a93ba (patch)
tree61963828719fd6c012e804fa3fd3f6d03d43bad9 /llvm
parentb481c2015a4f479cb95119638d23d585b20136b9 (diff)
downloadbcm5719-llvm-245fa0744fc321e4407ec1cb5ba06b9fb37a93ba.tar.gz
bcm5719-llvm-245fa0744fc321e4407ec1cb5ba06b9fb37a93ba.zip
Dcoument that the opauque value used to construct QNaNs is truncated
as necessary. llvm-svn: 72702
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/APFloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/APFloat.h b/llvm/include/llvm/ADT/APFloat.h
index 1ff92418ee8..928ecc0c3cf 100644
--- a/llvm/include/llvm/ADT/APFloat.h
+++ b/llvm/include/llvm/ADT/APFloat.h
@@ -192,7 +192,7 @@ namespace llvm {
///
/// \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);
OpenPOWER on IntegriCloud