diff options
author | stepancheg <stepancheg@epfl.ch> | 2009-05-04 20:00:55 +0000 |
---|---|---|
committer | stepancheg <stepancheg@epfl.ch> | 2009-05-04 20:00:55 +0000 |
commit | 036b3851c1598fa78f5fa4c4bd671f02cc291f0b (patch) | |
tree | 9f9f0cb7d48da688ddfe123b08a0af93b4847454 /src/library | |
parent | 2a31d6fd2cb09904bc3c41f5eac4aa26222b7761 (diff) | |
download | scala-036b3851c1598fa78f5fa4c4bd671f02cc291f0b.tar.gz scala-036b3851c1598fa78f5fa4c4bd671f02cc291f0b.tar.bz2 scala-036b3851c1598fa78f5fa4c4bd671f02cc291f0b.zip |
BigDecimal: mark methods appeared in 2.8
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/BigDecimal.scala | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/library/scala/BigDecimal.scala b/src/library/scala/BigDecimal.scala index 519dca0cd9..c735bb54b9 100644 --- a/src/library/scala/BigDecimal.scala +++ b/src/library/scala/BigDecimal.scala @@ -89,16 +89,22 @@ object BigDecimal { /** Implicit conversion from <code>Long</code> to <code>BigDecimal</code>. */ implicit def long2bigDecimal(l: Long): BigDecimal = apply(l) - /** Implicit conversion from <code>Float</code> to <code>BigDecimal</code>. */ + /** Implicit conversion from <code>Float</code> to <code>BigDecimal</code>. + * @since 2.8 + */ implicit def float2bigDecimal(f: Float): BigDecimal = apply(f) /** Implicit conversion from <code>Double</code> to <code>BigDecimal</code>. */ implicit def double2bigDecimal(d: Double): BigDecimal = apply(d) - /** Implicit conversion from <code>String</code> to <code>BigDecimal</code>. */ + /** Implicit conversion from <code>String</code> to <code>BigDecimal</code>. + * @since 2.8 + */ implicit def string2bigDecimal(s: String): BigDecimal = apply(s) - /** Implicit conversion from <code>BigInt</code> to <code>BigDecimal</code>. */ + /** Implicit conversion from <code>BigInt</code> to <code>BigDecimal</code>. + * @since 2.8 + */ implicit def bigInt2bigDecimal(x: BigInt): BigDecimal = apply(x) /** Implicit conversion from BigDecimal to <code>Ordered</code>. */ |