base: print() functions for floating point types

Fixes #2055
This commit is contained in:
Johannes Schlatow
2016-08-09 16:54:13 +02:00
committed by Christian Helmuth
parent f81d4cfbbb
commit acd2a40076
3 changed files with 52 additions and 0 deletions

View File

@ -120,6 +120,16 @@ namespace Genode {
print(output, (int)value);
}
/**
* Print single-precision float
*/
void print(Output &output, float);
/**
* Print double-precision float
*/
void print(Output &output, double);
/**
* Helper for the hexadecimal output of integer values
*