Results are quite disappointing. Resolution on long doubles is nothing like as good as I hoped; they're out by one part in 10^20. All unit tests except one pass, and the one that doesn't is a very minor rounding issue, so I'm calling it good.
almost certainly by writing a non-wide character to a wide stream.
the character read after reading a number not being correctly pushed back onto the input stream, but...