emul/compact/src/main/java/java/math/package-info.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 07 Sep 2013 13:51:24 +0200
branchjdk7-b147
changeset 1258 724f3e1ea53e
permissions -rw-r--r--
Additional set of classes to make porting of lookup library more easier
jaroslav@1258
     1
/*
jaroslav@1258
     2
 * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
jaroslav@1258
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jaroslav@1258
     4
 *
jaroslav@1258
     5
 * This code is free software; you can redistribute it and/or modify it
jaroslav@1258
     6
 * under the terms of the GNU General Public License version 2 only, as
jaroslav@1258
     7
 * published by the Free Software Foundation.  Oracle designates this
jaroslav@1258
     8
 * particular file as subject to the "Classpath" exception as provided
jaroslav@1258
     9
 * by Oracle in the LICENSE file that accompanied this code.
jaroslav@1258
    10
 *
jaroslav@1258
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
jaroslav@1258
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jaroslav@1258
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
jaroslav@1258
    14
 * version 2 for more details (a copy is included in the LICENSE file that
jaroslav@1258
    15
 * accompanied this code).
jaroslav@1258
    16
 *
jaroslav@1258
    17
 * You should have received a copy of the GNU General Public License version
jaroslav@1258
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
jaroslav@1258
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jaroslav@1258
    20
 *
jaroslav@1258
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jaroslav@1258
    22
 * or visit www.oracle.com if you need additional information or have any
jaroslav@1258
    23
 * questions.
jaroslav@1258
    24
 */
jaroslav@1258
    25
jaroslav@1258
    26
/**
jaroslav@1258
    27
 * Provides classes for performing arbitrary-precision integer
jaroslav@1258
    28
 * arithmetic ({@code BigInteger}) and arbitrary-precision decimal
jaroslav@1258
    29
 * arithmetic ({@code BigDecimal}).  {@code BigInteger} is analogous
jaroslav@1258
    30
 * to the primitive integer types except that it provides arbitrary
jaroslav@1258
    31
 * precision, hence operations on {@code BigInteger}s do not overflow
jaroslav@1258
    32
 * or lose precision.  In addition to standard arithmetic operations,
jaroslav@1258
    33
 * {@code BigInteger} provides modular arithmetic, GCD calculation,
jaroslav@1258
    34
 * primality testing, prime generation, bit manipulation, and a few
jaroslav@1258
    35
 * other miscellaneous operations.
jaroslav@1258
    36
 *
jaroslav@1258
    37
 * {@code BigDecimal} provides arbitrary-precision signed decimal
jaroslav@1258
    38
 * numbers suitable for currency calculations and the like.  {@code
jaroslav@1258
    39
 * BigDecimal} gives the user complete control over rounding behavior,
jaroslav@1258
    40
 * allowing the user to choose from a comprehensive set of eight
jaroslav@1258
    41
 * rounding modes.
jaroslav@1258
    42
 *
jaroslav@1258
    43
 * @since JDK1.1
jaroslav@1258
    44
 */
jaroslav@1258
    45
package java.math;