FORTRAN SOFTWARE CATALOG

Repository owner: Amasaki Shinobu (shinobuamasaki)

uint-fortran

Unsigned integer derived types with arithmetic, comparisons and conversions.

Repository · Pinned source (487f806c76a5) · Try in playground · Checked package example

GAMS classifications

About this package

Category
General utilities
License
MIT

Topics: c-interoperability, fortran, integer-arithmetic, modular-arithmetic, unsigned-integers

Classification scope and review notes

Fixed-width unsigned integer derived types. The main checks 16/32-bit upper boundaries, 32-bit arithmetic above the signed boundary, comparisons, modular addition/subtraction and conversion of a negative assignment. It imports the current int_m conversion API explicitly. This is not arbitrary-precision arithmetic or validation of every kind, operation or C interoperability path.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

No additional GitHub package dependencies were recorded for this verified build.

Build record verified 2026-10-28.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

uint16 / uint32 / arithmetic operators / int

Module: unsigned_m / addition_m / int_m

A1

A1: verified

Derivatives / callbacks: not applicable

Fixed-width unsigned integer derived types. The main checks 16/32-bit upper boundaries, 32-bit arithmetic above the signed boundary, comparisons, modular addition/subtraction and conversion of a negative assignment. It imports the current int_m conversion API explicitly. This is not arbitrary-precision arithmetic or validation of every kind, operation or C interoperability path.

Pinned source: src/types/uint32_t.f90 · src/intrinsic_operators_overload/the_four_arithmetic_operations/addition_m.f90 · src/intrinsic_functions_overload/int_m.f90

Author examples/tests: test/check-assign-negative_uint32.f90

Load checked GAMS driver: gams-uint-arithmetic-reference