MCPcopy Create free account
hub / github.com/apache/fory / decimal_values

Function decimal_values

python/pyfory/tests/xlang_test_main.py:63–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def decimal_values() -> List[decimal.Decimal]:
64 return [
65 decimal_from_parts(0, 0),
66 decimal_from_parts(0, 3),
67 decimal_from_parts(1, 0),
68 decimal_from_parts(-1, 0),
69 decimal_from_parts(12345, 2),
70 decimal_from_parts(9223372036854775807, 0),
71 decimal_from_parts(-9223372036854775808, 0),
72 decimal_from_parts(4611686018427387903, 0),
73 decimal_from_parts(-4611686018427387904, 0),
74 decimal_from_parts(9223372036854775808, 0),
75 decimal_from_parts(-9223372036854775809, 0),
76 decimal_from_parts(123456789012345678901234567890123456789, 37),
77 decimal_from_parts(-123456789012345678901234567890123456789, -17),
78 ]
79
80
81def empty_int32_ndarray():

Callers 1

test_decimalFunction · 0.85

Calls 1

decimal_from_partsFunction · 0.85

Tested by

no test coverage detected