# Class Pi.AbstractBinarySplittingSeries

java.lang.Object
org.apfloat.samples.Pi.AbstractBinarySplittingSeries

All Implemented Interfaces:
  `Serializable, Pi.BinarySplittingSeries`

Direct Known Subclasses:
  `Pi.ChudnovskyBinarySplittingSeries, Pi.RamanujanBinarySplittingSeries`

Enclosing class:
  `Pi`

protected abstract static class Pi.AbstractBinarySplittingSeries extends Object implements Pi.BinarySplittingSeries
Abstract base class for the binary splitting series.

Version:
  1.14.0
Author:
  Mikko Tommila
See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected long`
  `precision`
  Target precision.
  `protected int`
  `radix`
  Radix to be used.

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `AbstractBinarySplittingSeries(long precision, int radix)`
  Construct a binary splitting series with the specified precision and radix.

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Pi.BinarySplittingSeries

  `a, p, q`

- ## Field Details

  - ### precision

    protected long precision
    Target precision.

  - ### radix

    protected int radix
    Radix to be used.

- ## Constructor Details

  - ### AbstractBinarySplittingSeries

    protected AbstractBinarySplittingSeries(long precision, int radix)
    Construct a binary splitting series with the specified precision and radix.
    Parameters:
      `precision` - The target precision.
      `radix` - The radix to be used.