Skip to content

Main content

Manuscript Quire Leaf Parity Tool

Index arithmetic under a caller-supplied leaf grouping, without reconstructing a physical quire.

Loading tool…

Description

Floor-divide for bifoliumIndex and return remainder slot.

Historical and public-register references combine repositories, series, titles and local identifiers. A syntactic token or hierarchy count helps organize records without authenticating the source or establishing a document's historical or legal meaning.

Floor-divide for bifoliumIndex and return remainder slot.

When to use this tool

Use Manuscript Quire Leaf Parity when you need a literal archival or public-register record operation.

How to use the tool and how it works

  1. Enter leafIndex, leavesPerBifolium. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read bifoliumIndex, slot. Use the output convention below.

Require nonnegative integer leafIndex and positive leavesPerBifolium. Floor-divide for bifoliumIndex and return remainder slot.1

Input fieldMeaning and unitsAccepted input
leafIndexLeaf IndexRequired. Safe integer; minimum 0.
leavesPerBifoliumLeaves Per BifoliumRequired. Safe integer; minimum 1.
Output fieldInterpretationReturned shape
bifoliumIndexBifolium IndexRequired. Safe integer.
slotSlotRequired. Safe integer.
json
{
  "input": {
    "leafIndex": 5,
    "leavesPerBifolium": 2
  },
  "output": {
    "bifoliumIndex": 2,
    "slot": 1
  }
}

Limitations and assumptions

  • Indexing is zero based and leavesPerBifolium is caller supplied, not forced to two. No actual quire structure, missing leaves or binding reconstruction is established.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Consult the source repository's catalog and description conventions for identity and interpretation. Preserve original references and resolve language, hierarchy and identifier rules before treating a token match as an authenticated record.

References

  1. Calculation and input contract: european-studies/manuscript-quire-leaf-parity — tool.io

Similar or alternative tools

  • Public Register Folio Token

    Accept exactly one matching suffix whose preceding tail is a positive integer without leading zero, and return folio number and side token.

  • Public Register Series Depth

    Count collectionParts and seriesParts and add one to combinedDepth only when includeCollectionRoot.