Skip to content

[k2] custom format for floating points in logs#1329

Merged
apolyakov merged 1 commit into
masterfrom
apolyakov/k2-log-wrapper-for-floating
May 26, 2025
Merged

[k2] custom format for floating points in logs#1329
apolyakov merged 1 commit into
masterfrom
apolyakov/k2-log-wrapper-for-floating

Conversation

@apolyakov
Copy link
Copy Markdown
Contributor

@apolyakov apolyakov commented May 25, 2025

Introduce floating_wrapper to automatically ensure consistent logging of floating-point numbers with a fixed decimal precision. This fixes an issue where std::format could use malloc to format floating point types.

@apolyakov apolyakov added this to the next milestone May 25, 2025
@apolyakov apolyakov self-assigned this May 25, 2025
@apolyakov apolyakov added the k2 Affects compiler or runtime in K2 mode label May 25, 2025
Comment thread runtime-light/utils/logs.h
@apolyakov apolyakov requested a review from mkornaukhov May 26, 2025 13:43
@apolyakov apolyakov merged commit add0757 into master May 26, 2025
7 checks passed
@apolyakov apolyakov deleted the apolyakov/k2-log-wrapper-for-floating branch May 26, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

k2 Affects compiler or runtime in K2 mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants