From: heltai Date: Wed, 23 Nov 2011 08:22:04 +0000 (+0000) Subject: Bug on ostream with doubles. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956e8dc9b52c0e5ad593a2c9c0a585413428d957;p=dealii-svn.git Bug on ostream with doubles. git-svn-id: https://svn.dealii.org/trunk@24763 0785d39b-7218-0410-832d-ea1e28bc413d --- 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