MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / lbug_int128_t_to_string

Function lbug_int128_t_to_string

src/c_api/value.cpp:768–778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766}
767
768lbug_state lbug_int128_t_to_string(lbug_int128_t int128_val, char** out_result) {
769 int128_t c_int128 = 0;
770 c_int128.low = int128_val.low;
771 c_int128.high = int128_val.high;
772 try {
773 *out_result = convertToOwnedCString(TypeUtils::toString(c_int128));
774 } catch (ConversionException& e) {
775 return LbugError;
776 }
777 return LbugSuccess;
778}
779// TODO: bind all int128_t supported functions
780
781lbug_state lbug_value_get_float(lbug_value* value, float* out_result) {

Callers 1

TEST_FFunction · 0.85

Calls 2

convertToOwnedCStringFunction · 0.85
toStringFunction · 0.50

Tested by 1

TEST_FFunction · 0.68