MCPcopy Create free account
hub / github.com/arkdb/inception / decimal2bin

Function decimal2bin

strings/decimal.c:1265–1381  ·  view source on GitHub ↗

Convert decimal to its binary fixed-length representation two representations of the same length can be compared with memcmp with the correct -1/0/+1 result SYNOPSIS decimal2bin() from - value to convert to - points to buffer where string representation should be stored precision/scale - see decimal_bin_size() below NOTE the buffer is assumed to be of th

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

my_decimal2binaryFunction · 0.85
writeMethod · 0.85
unpackMethod · 0.85
do_test_d2b2dFunction · 0.85

Calls 1

remove_leading_zeroesFunction · 0.85

Tested by

no test coverage detected