From 956e8dc9b52c0e5ad593a2c9c0a585413428d957 Mon Sep 17 00:00:00 2001 From: heltai Date: Wed, 23 Nov 2011 08:22:04 +0000 Subject: [PATCH] Bug on ostream with doubles. git-svn-id: https://svn.dealii.org/trunk@24763 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/codim_one/double_bug.cc | 11 +++++++++++ tests/codim_one/double_bug/cmp/generic | 1 + 2 files changed, 12 insertions(+) create mode 100644 tests/codim_one/double_bug.cc create mode 100644 tests/codim_one/double_bug/cmp/generic diff --git a/tests/codim_one/double_bug.cc b/tests/codim_one/double_bug.cc new file mode 100644 index 0000000000..1acf3646f3 --- /dev/null +++ b/tests/codim_one/double_bug.cc @@ -0,0 +1,11 @@ +#include +#include + +int main () +{ + std::ofstream logfile("double_bug/output"); + + logfile << -0.00976562 << std::endl; + + return 0; +} diff --git a/tests/codim_one/double_bug/cmp/generic b/tests/codim_one/double_bug/cmp/generic new file mode 100644 index 0000000000..737e1fa0b7 --- /dev/null +++ b/tests/codim_one/double_bug/cmp/generic @@ -0,0 +1 @@ +-0.00976562 -- 2.39.5