Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
formatter< internal::bigint > Struct Reference

Public Member Functions

format_parse_context::iterator parse (format_parse_context &ctx)
format_context::iterator format (const internal::bigint &n, format_context &ctx)

Member Function Documentation

◆ parse()

format_parse_context::iterator formatter< internal::bigint >::parse ( format_parse_context & ctx)
inline
450080 {
450081 return ctx.begin();
450082 }
Definition duckdb.cpp:15378

◆ format()

format_context::iterator formatter< internal::bigint >::format ( const internal::bigint & n,
format_context & ctx )
inline
450085 {
450086 auto out = ctx.out();
450087 bool first = true;
450088 for (auto i = n.bigits_.size(); i > 0; --i) {
450089 auto value = n.bigits_[i - 1];
450090 if (first) {
450091 out = format_to(out, "{:x}", value);
450092 first = false;
450093 continue;
450094 }
450095 out = format_to(out, "{:08x}", value);
450096 }
450097 if (n.exp_ > 0)
450098 out = format_to(out, "p{}", n.exp_ * internal::bigint::bigit_bits);
450099 return out;
450100 }

The documentation for this struct was generated from the following file: