]> Kevux Git Server - fll/commit
Update: Conversion should return F_number_positive and F_number_negative without...
authorKevin Day <kevin@kevux.org>
Fri, 14 Jul 2023 03:07:57 +0000 (22:07 -0500)
committerKevin Day <kevin@kevux.org>
Fri, 14 Jul 2023 03:37:33 +0000 (22:37 -0500)
commit8ea430f4e5186e6f6cea5c0073a4f0db8afc633d
treebf1a1a74f665e3ee83863e15ec5c0cd346a3d8ce
parentaa9a0e53ca40f0af098a73d020364043ee7695e4
Update: Conversion should return F_number_positive and F_number_negative without error bit and do some clean up.

Do not treat F_number_positive and F_number_negative as an error.
The "unsigned" concept should be internal to the function and not whether or not the user input has a sign.

If F_number_negative is returned, the value can still be of type f_number_unsigned_t.
This is because the return status designates the effective sign.
The caller can then decide whether or not this is an error.
level_0/f_conversion/c/conversion.c
level_1/fl_conversion/c/conversion.c
level_1/fl_conversion/c/conversion.h
level_1/fl_conversion/c/private-conversion.c
level_1/fl_conversion/c/private-conversion.h
level_3/byte_dump/c/byte_dump.c
level_3/fake/c/main/make.c
level_3/fss_identify/c/main/common.c
level_3/iki_read/c/main/common.c
level_3/utf8/c/main/codepoint.c