diff --git a/README.md b/README.md index e952728..c145855 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ These two commands run, in MATLAB and Octave respectively, the function `test/cp # Acknowledgements -The library was written by Massimiliano Fasi and Mantas Mikaitis. We thank Theo Mary, Ian McInerney, and Siegfried Rump for reporting bugs and suggesting improvements. +The library was written by Massimiliano Fasi and Mantas Mikaitis. We thank Nicolas Louvet, Theo Mary, Ian McInerney, and Siegfried Rump for reporting bugs and suggesting improvements. # Licensing information diff --git a/examples/example_manuscript.c b/examples/example_manuscript.c index 975afb6..607c775 100644 --- a/examples/example_manuscript.c +++ b/examples/example_manuscript.c @@ -12,10 +12,11 @@ int main () { // Set up the parameters for binary16 target format. fpopts->precision = 11; // Bits in the significand + 1. + fpopts->emin = -14; // The minimum exponent value. fpopts->emax = 15; // The maximum exponent value. fpopts->subnormal = CPFLOAT_SUBN_USE; // Support for subnormals is on. fpopts->round = CPFLOAT_RND_TP; // Round toward +infinity. - fpopts->flip = CPFLOAT_NO_SOFTERR; // Bit flips are off. + fpopts->flip = CPFLOAT_SOFTERR_NO; // Bit flips are off. fpopts->p = 0; // Bit flip probability (not used). fpopts->explim = CPFLOAT_EXPRANGE_TARG; // Limited exponent in target format.