1, support const double / float literal number such as .618, .5f, etc.
authoryu.dongliang <18588496441@163.com>
Tue, 9 Jun 2026 11:02:52 +0000 (19:02 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 9 Jun 2026 11:02:57 +0000 (19:02 +0800)
commitf101ffe49261d263f323026fc1cc1f019c65643b
tree3c0b868e5cef8b03123057fc193de42cb50246a5
parent8f403d38ac1e535a738d7de2a0207f3246d9fc81
1, support const double / float literal number such as .618, .5f, etc.
2, support const number calculate with u64 type.
12 files changed:
core/scf_calculate.c
core/scf_calculate.h
core/scf_calculate_i32.c
core/scf_calculate_i64.c
core/scf_calculate_u32.c
core/scf_calculate_u64.c [new file with mode: 0644]
examples/const_postfix.c [new file with mode: 0644]
examples/float_inc.c
lex/scf_lex_test.c
lex/scf_lex_util.c
parse/Makefile
util/scf_string.c