X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_float.cpp;fp=src%2Fstlplus%2Fstrings%2Fprint_float.cpp;h=0000000000000000000000000000000000000000;hp=dc10b200f503ea43c9b35e716c5c6b9b19979874;hb=574af38ed616d1adfa5e6ce35f67cda1f707f89d;hpb=6c9943707d4f33035830eba0587a61a34eaecbc2 diff --git a/src/stlplus/strings/print_float.cpp b/src/stlplus/strings/print_float.cpp deleted file mode 100644 index dc10b20..0000000 --- a/src/stlplus/strings/print_float.cpp +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -//////////////////////////////////////////////////////////////////////////////// -#include "print_float.hpp" -#include "string_float.hpp" - -namespace stlplus -{ - - //////////////////////////////////////////////////////////////////////////////// - // floating-point types - - void print_float(std::ostream& device, float f, real_display_t display, unsigned width, unsigned precision) - throw(std::invalid_argument) - { - device << float_to_string(f, display, width, precision); - } - - void print_double(std::ostream& device, double f, real_display_t display, unsigned width, unsigned precision) - throw(std::invalid_argument) - { - device << double_to_string(f, display, width, precision); - } - - //////////////////////////////////////////////////////////////////////////////// - -} // end namespace stlplus