MCPcopy Create free account
hub / github.com/rsc/tmp / TrimAndCut

Function TrimAndCut

ftoa/dblconv/strtod.cc:126–143  ·  view source on GitHub ↗

Trims the buffer and cuts it to at most kMaxSignificantDecimalDigits. If possible the input-buffer is reused, but if the buffer needs to be modified (due to cutting), then the input needs to be copied into the buffer_copy_space.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

StrtodFunction · 0.85
StrtofFunction · 0.85

Calls 4

TrimLeadingZerosFunction · 0.85
TrimTrailingZerosFunction · 0.85
lengthMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…