summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorLeif Wickland <leifwickland@gmail.com>2012-01-24 15:35:52 -0700
committerLeif Wickland <leifwickland@gmail.com>2012-01-24 15:35:52 -0700
commit0cbe801dc5ab29f484d2e2f531cba1305823dcce (patch)
tree886ca9ab579c376c8302699cc6578d2101b84de7 /src/library
parenteb561e364eb82150851d7f80a57abee76dac1201 (diff)
downloadscala-0cbe801dc5ab29f484d2e2f531cba1305823dcce.tar.gz
scala-0cbe801dc5ab29f484d2e2f531cba1305823dcce.tar.bz2
scala-0cbe801dc5ab29f484d2e2f531cba1305823dcce.zip
SI-5405: Fix documentation error in scala.math.BigInt
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/math/BigInt.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/math/BigInt.scala b/src/library/scala/math/BigInt.scala
index 361e02cb16..8a53afaa62 100644
--- a/src/library/scala/math/BigInt.scala
+++ b/src/library/scala/math/BigInt.scala
@@ -309,7 +309,7 @@ class BigInt(val bigInteger: BigInteger) extends ScalaNumber with ScalaNumericCo
override def byteValue = intValue.toByte
/** Converts this BigInt to a <tt>short</tt>.
- * If the BigInt is too big to fit in a byte, only the low-order 16 bits are returned.
+ * If the BigInt is too big to fit in a short, only the low-order 16 bits are returned.
* Note that this conversion can lose information about the overall magnitude of the
* BigInt value as well as return a result with the opposite sign.
*/
@@ -323,7 +323,7 @@ class BigInt(val bigInteger: BigInteger) extends ScalaNumber with ScalaNumericCo
def charValue = intValue.toChar
/** Converts this BigInt to an <tt>int</tt>.
- * If the BigInt is too big to fit in a char, only the low-order 32 bits
+ * If the BigInt is too big to fit in a int, only the low-order 32 bits
* are returned. Note that this conversion can lose information about the
* overall magnitude of the BigInt value as well as return a result with
* the opposite sign.
@@ -331,7 +331,7 @@ class BigInt(val bigInteger: BigInteger) extends ScalaNumber with ScalaNumericCo
def intValue = this.bigInteger.intValue
/** Converts this BigInt to a <tt>long</tt>.
- * If the BigInt is too big to fit in a char, only the low-order 64 bits
+ * If the BigInt is too big to fit in a long, only the low-order 64 bits
* are returned. Note that this conversion can lose information about the
* overall magnitude of the BigInt value as well as return a result with
* the opposite sign.