MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / i128_to_dec

Function i128_to_dec

compiler/src/modules/vm/ops.rs:591–594  ·  view source on GitHub ↗

i128 decimal render via itoa to avoid the heavier `format!` machinery on the hot path. */

(n: i128)

Source from the content-addressed store, hash-verified

589
590/* i128 decimal render via itoa to avoid the heavier `format!` machinery on the hot path. */
591fn i128_to_dec(n: i128) -> String {
592 let mut buf = itoa::Buffer::new();
593 buf.format(n).to_string()
594}

Callers 1

display_dMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected