C's flexible integer sizes were a deliberate design choice to enable portability across diverse 1970s computer architectures with varying word sizes and addressing schemes, not a mistake. Modern programmers can use the STDINT.H header (introduced in C99) to declare fixed-size integer types like int32_t and uint32_t for consistent behavior across platforms.
PrimalSolver is a dependency-free mathematical optimization solver written in C99 that supports LP, MILP, QP, QCQP, SOCP, SDP and mixed-integer conic problems. It provides independently verifiable solution certificates including primal/dual solutions with stationarity, feasibility and complementarity guarantees, validated against MOSEK examples with 4242 reliability checks.