Submitter: Rajan Bhakta
Submission Date: 2017-03-02
Document: WG14 N2126
Title: Example of the effect of the change for CFP DR11

Suggested example for CFP DR11 showing the affect of the proposed change:

#include <stdio.h>

int main(void) {
  _Decimal32 x = 9512345e90df;
  _Decimal32 x2 = 9512345e86df;
  
  printf("%.3Ha\n", x); // New expected output: 9.51e96
  printf("%.2Ha\n", x); // New expected output: 9.5e96
  printf("%.1Ha\n", x); // New expected output: 1e97
  printf("%.2Ha\n", x2); // New expected output: 9.5e92
  
  return 0;
}