Avatar for the python-humanize user
python-humanize
humanize
BlogDocsChangelog

Stop printing two minus signs in fractional for a negative mixed number

#320
Comparing
c-tonneslan:fix/fractional-negative-double-sign
(
331b4c6
) with
main
(
0a06a3d
)
CodSpeed Performance Gauge
0%
Untouched
15

Benchmarks

15 total
test_naturaldate
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
88.3 µs87.2 µs
test_natural_list
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
27.9 µs27.6 µs
test_naturalsize
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
58.8 µs58.5 µs
test_apnumber
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
43.2 µs43.1 µs
test_scientific
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
50.4 µs50.3 µs
test_precisedelta
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
193.1 µs192.9 µs
test_naturaltime
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
89.1 µs89.1 µs
test_intcomma
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
55.2 µs55.1 µs
test_intword
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
73.5 µs73.5 µs
test_ordinal
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
50.9 µs51 µs
test_metric
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
44.4 µs44.5 µs
test_naturalday
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
62.3 µs62.4 µs
test_clamp
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
33.2 µs33.2 µs
test_fractional
tests/test_benchmarks.py
CodSpeed Performance Gauge
-1%
65.4 µs66 µs
test_naturaldelta
tests/test_benchmarks.py
CodSpeed Performance Gauge
-1%
60.6 µs61.3 µs

Commits

Click on a commit to change the comparison range
Base
main
0a06a3d
+0.03%
fractional: stop printing two minus signs for a negative mixed number
331b4c6
3 days ago
by c-tonneslan
© 2026 CodSpeed Technology
Home Terms Privacy Docs