Skip to content

Releases: gerickson/strntoul

2.0

Choose a tag to compare

@gerickson gerickson released this 06 Apr 23:37
  • Added six new interfaces:
    1. strnto[u]ll
    2. strnto[iu]max
    3. strnto[u]q
  • Fixed a bug in signed conversion where values representable in the unsigned type but exceeding the signed range (for example, 0x8000000000000000 for a 64-bit signed type) were silently cast rather than clamped with ERANGE. Historically, this affected strntol for inputs between LONG_MAX + 1 and ULONG_MAX that did not trigger unsigned overflow.

1.0.1

Choose a tag to compare

@gerickson gerickson released this 04 Apr 19:48
  • Addresses an issue with single digit conversion of zero (0) that should succeed with both strntol and strtoul.

1.0

1.0

Choose a tag to compare

@gerickson gerickson released this 28 Feb 23:30