HomeSort by relevance Sort by last modified time
    Searched refs:Dfp (Results 1 - 4 of 4) sorted by null

  /external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DfpField.java 18 package org.apache.commons.math.dfp;
26 public class DfpField implements Field<Dfp> {
107 /** A {@link Dfp} with value 0. */
108 private final Dfp zero;
110 /** A {@link Dfp} with value 1. */
111 private final Dfp one;
113 /** A {@link Dfp} with value 2. */
114 private final Dfp two;
116 /** A {@link Dfp} with value &radic;2. */
117 private final Dfp sqr2
    [all...]
DfpMath.java 18 package org.apache.commons.math.dfp;
20 /** Mathematical routines for use with {@link Dfp}.
36 /** Breaks a string representation up into two dfp's.
37 * <p>The two dfp are such that the sum of them is equivalent
39 * single dfp. This is useful for improving accuracy of
41 * @param field field to which the Dfp must belong
43 * @return an array of two {@link Dfp} which sum is a
45 protected static Dfp[] split(final DfpField field, final String a) {
46 Dfp result[] = new Dfp[2]
    [all...]
DfpDec.java 18 package org.apache.commons.math.dfp;
20 /** Subclass of {@link Dfp} which hides the radix-10000 artifacts of the superclass.
27 public class DfpDec extends Dfp {
72 public DfpDec(final Dfp d) {
88 * @param sign sign of the Dfp to create
98 public Dfp newInstance() {
104 public Dfp newInstance(final byte x) {
110 public Dfp newInstance(final int x) {
116 public Dfp newInstance(final long x) {
122 public Dfp newInstance(final double x)
    [all...]
Dfp.java 18 package org.apache.commons.math.dfp;
96 public class Dfp implements FieldElement<Dfp> {
175 /** Factory building similar Dfp's. */
181 protected Dfp(final DfpField field) {
193 protected Dfp(final DfpField field, byte x) {
201 protected Dfp(final DfpField field, int x) {
209 protected Dfp(final DfpField field, long x) {
256 protected Dfp(final DfpField field, double x) {
300 Dfp xdfp = new Dfp(field, mantissa)
    [all...]

Completed in 444 milliseconds