We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fmt('{:.1f}', 3.4) prints 3.4 fmt('{: .1f}', 3.4) prints 3.
fmt('{:.1f}', 3.4)
3.4
fmt('{: .1f}', 3.4)
3.
Compiled with gcc -o fmt.so -O3 -fPIC -shared lfmt.c
gcc -o fmt.so -O3 -fPIC -shared lfmt.c
lua -v output:
lua -v
Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio
gcc -v output:
gcc -v
Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.2.1 20230801 (GCC)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
fmt('{:.1f}', 3.4)
prints3.4
fmt('{: .1f}', 3.4)
prints3.
Compiled with
gcc -o fmt.so -O3 -fPIC -shared lfmt.c
lua -v
output:gcc -v
output:The text was updated successfully, but these errors were encountered: