src/test-number.cc


Log

Author Commit Date CI Message
Behdad Esfahbod 75f91987 2025-07-25T02:39:47 [src/test-*] Use hb_always_assert() which isn't compiled out under NDEBUG Part of https://github.com/harfbuzz/harfbuzz/issues/5418
Ebrahim Byagowi dca8ba6b 2020-05-10T16:57:45 [number] Make hb_parse_double simpler now that we don't have to mimic strtod
Ebrahim Byagowi 44fe1c8f 2020-03-25T16:36:48 Remove xlocale use now that isn't available in most distros Our CI bots don't detect it in Alpine, ArchLinux, Ubuntu and Fedora so let's get rid of it use the fallback we are using anyway for a long time.
Ebrahim Byagowi 47d82713 2019-09-06T20:33:10 Replace strtod with a ragel implementation Use a ragel based number parser when strtod_l couldn't be found as libc's strtod may is locale sensetivity which we need to not.
Ebrahim Byagowi cad69856 2019-09-04T10:59:19 Use roundf to fix cast to int difference of msys2 w64
Ebrahim Byagowi 57f88e11 2019-09-04T01:20:50 [number] Turn hb_parse_float into hb_parse_double
Ebrahim Byagowi 65690b5a 2019-09-03T23:09:47 [number] Add whole buffer check and test it
Ebrahim Byagowi 3661eb61 2019-09-03T19:43:14 Don't check null terminaion of source in hb_codepoint_parse This isn't what intended originally, just checking if consumed all the buffer is enough.
Ebrahim Byagowi 3a162727 2019-09-03T17:19:33 [test] resolve msvc complain on signedness comparing
Ebrahim Byagowi 3d5b1df7 2019-09-03T16:58:16 [number] Add test