Add floating-point print

This commit is contained in:
Henrik Stickann
2022-04-14 15:19:44 +02:00
parent b2ae487b76
commit ae460b69f6
2 changed files with 25 additions and 0 deletions

View File

@@ -38,6 +38,12 @@ namespace sta
* @param b Boolean value
*/
void print(bool b);
/**
* @brief Print floating point value.
*
* @param d Floating point value
*/
void print(double d);
/**
* @brief Print integer in selected base.
*
@@ -97,6 +103,12 @@ namespace sta
* @param b Boolean value
*/
void println(bool b);
/**
* @brief Print floating point value followed by a new-line.
*
* @param d Floating point value
*/
void println(double d);
/**
* @brief Print integer in selected base followed by a new-line.
*