• 2.0.0-b 695c4abc18

    2.0.0-b Stable

    mirk0dex released this 2023-07-29 09:29:50 +00:00 | 2 commits to main since this release

    New in version 2.0.0-b: bumped manpage version number.

    Downloads
  • 2.0.0 51bb5684ac

    2.0.0 Stable

    mirk0dex released this 2023-07-29 09:21:40 +00:00 | 3 commits to main since this release

    New in version 2.0.0:

    ncvt got partially rewritten!

    Feature changes:

    • conversion to unary now uses "1" as digit (for better compatibility with shell scripts than we had with "|"...).

    Nothing else really changed on the surface.

    Code changes:

    • new, simpler code style;
    • ncvt now has its own library (you can find it here);
    • new strutils.h library;
    • new error() function to quickly print errors and exit;
    • no more global variables and ugly procedures: function parameters and arguments are now used;
    • way less hardcoded stuff (although there still is some);
    • many other tweaks I can't be bothered to list here.
    Downloads
  • 1.0.4 7d65f51446

    1.0.4 Stable

    mirk0dex released this 2023-04-02 19:58:58 +00:00 | 7 commits to main since this release

    New in version 1.0.4:

    • fixed false "greater than base" positives;
    • new illegal character error message.

    Example:

    previously, when running something like

    ncvt A 16 10
    

    we would have gotten:

    Error: illegal character "A" is greater than base!
    

    even if it's perfectly OK for hexadecimal numbers to contain such characters.

    The issue's now been dealt with by obtaining a certain character's value (e.g.: A = 10) by subtracting 55 from its ASCII value instead of 48 (ONLY if ncvt detects that it's reading a non-int in the first place. If the character is detected to be an int, ncvt will subtract 48 from the ASCII value as usual, for checking).

    Also, the error message has been changed to the following:

    Error: illegal character "<CHARACTER>" does not exist in base-<BASE>!
    

    .

    Downloads
  • 1.0.3 ec35373fdf

    1.0.3 Stable

    mirk0dex released this 2023-02-19 12:06:06 +00:00 | 13 commits to main since this release

    New in version 1.0.3: the unary numeral system is now supported.

    In order to make use of this new feature, you have to use "1" as a base or target base. Any ASCII character can be used as a unary digit.

    Example:

    ncvt II3I 1 10
    

    Output:

    4
    

    .

    ncvt uses "|" as its output unary digit.

    Example:

    ncvt A 16 1
    

    Output:

    ||||||||||
    

    .

    Downloads
  • 1.0.2-b 2ff111d26b

    1.0.2-b Stable

    mirk0dex released this 2023-01-26 08:05:58 +00:00 | 15 commits to main since this release

    New in version 1.0.2-b: bumped manpage version number.

    Downloads
  • 1.0.2 5a61e9620c

    1.0.2 Stable

    mirk0dex released this 2023-01-18 19:46:31 +00:00 | 20 commits to main since this release

    New in version 1.0.2: bug fixes and pushing of boundaries!

    • raised maximum number limit (int -> long long int);
    • fixed ncvt allowing to convert numbers containing digits not in selected base (for instance, running something like ncvt 2010 2 10 was previously allowed. This should now not be possible).
    Downloads
  • 1.0.1 d4394dda0c

    1.0.1 Stable

    mirk0dex released this 2023-01-13 09:13:39 +00:00 | 22 commits to main since this release

    New in version 1.0.1:

    • New manual page (run man ncvt and check it out yourself!);
    • major changes in how "install.sh" works:
      • more reliable error checking system;
      • uses "sudo" by default;
      • installs manpage;
      • some minor changes.

    No changes were made to the ncvt program itself.

    Downloads
  • 1.0.0 36b9e2539c

    1.0.0 Stable

    mirk0dex released this 2022-12-15 13:54:00 +00:00 | 29 commits to main since this release

    First release.

    Downloads