py/formatfloat.c: Fix format of floating point numbers near 1.0.
py/formatfloat.c: Fix format of floating point numbers near 1.0.

In particular, numbers which are less than 1.0 but which
round up to 1.0.

This also makes those numbers which round up to 1.0 to
print with e+00 rather than e-00 for those formats which
print exponents.

Addresses issue #1178.

galenhz/micropython,xyb/micropython,adafruit/micropython,tuc-osg/micropython,supergis/micropython,misterdanb/micropython,swegener/micropython,ruffy91/micropython,bvernoux/micropython,mpalomer/micropython,rubencabrera/micropython,orionrobots/micropython,stonegithubs/micropython,neilh10/micropython,cwyark/micropython,adamkh/micropython,swegener/micropython,lowRISC/micropython,selste/micropython,trezor/micropython,ChuckM/micropython,pramasoul/micropython,drrk/micropython,PappaPeppar/micropython,torwag/micropython,tobbad/micropython,emfcamp/micropython,pozetroninc/micropython,heisewangluo/micropython,blazewicz/micropython,hiway/micropython,alex-robbins/micropython,pozetroninc/micropython,kostyll/micropython,AriZuu/micropython,toolmacher/micropython,PappaPeppar/micropython,jmarcelino/pycom-micropython,SHA2017-badge/micropython-esp32,oopy/micropython,slzatz/micropython,trezor/micropython,blmorris/micropython,vitiral/micropython,micropython/micropython-esp32,micropython/micropython-esp32,misterdanb/micropython,Peetz0r/micropython-esp32,ceramos/micropython,emfcamp/micropython,cloudformdesign/micropython,alex-march/micropython,xhat/micropython,TDAbboud/micropython,cwyark/micropython,adafruit/circuitpython,MrSurly/micropython-esp32,bvernoux/micropython,firstval/micropython,AriZuu/micropython,heisewangluo/micropython,martinribelotta/micropython,ericsnowcurrently/micropython,infinnovation/micropython,HenrikSolver/micropython,ernesto-g/micropython,infinnovation/micropython,rubencabrera/micropython,toolmacher/micropython,infinnovation/micropython,lowRISC/micropython,suda/micropython,omtinez/micropython,dinau/micropython,vitiral/micropython,HenrikSolver/micropython,cnoviello/micropython,tobbad/micropython,misterdanb/micropython,henriknelson/micropython,PappaPeppar/micropython,emfcamp/micropython,mianos/micropython,MrSurly/micropython-esp32,vriera/micropython,ericsnowcurrently/micropython,mhoffma/micropython,torwag/micropython,xuxiaoxin/micropython,kerneltask/micropython,cnoviello/micropython,blazewicz/micropython,utopiaprince/micropython,adafruit/circuitpython,ganshun666/micropython,mhoffma/micropython,dhylands/micropython,xuxiaoxin/micropython,firstval/micropython,mhoffma/micropython,henriknelson/micropython,omtinez/micropython,blmorris/micropython,bvernoux/micropython,dmazzella/micropython,matthewelse/micropython,stonegithubs/micropython,misterdanb/micropython,dhylands/micropython,danicampora/micropython,mianos/micropython,kostyll/micropython,tdautc19841202/micropython,supergis/micropython,alex-march/micropython,ryannathans/micropython,noahwilliamsson/micropython,ganshun666/micropython,lbattraw/micropython,adamkh/micropython,ceramos/micropython,xyb/micropython,dinau/micropython,blazewicz/micropython,jlillest/micropython,orionrobots/micropython,blazewicz/micropython,hiway/micropython,lbattraw/micropython,TDAbboud/micropython,suda/micropython,utopiaprince/micropython,Timmenem/micropython,selste/micropython,swegener/micropython,utopiaprince/micropython,vriera/micropython,martinribelotta/micropython,ruffy91/micropython,jlillest/micropython,slzatz/micropython,kerneltask/micropython,drrk/micropython,Timmenem/micropython,mgyenik/micropython,drrk/micropython,pfalcon/micropython,Peetz0r/micropython-esp32,omtinez/micropython,torwag/micropython,Timmenem/micropython,rubencabrera/micropython,puuu/micropython,ahotam/micropython,ganshun666/micropython,paul-xxx/micropython,redbear/micropython,bvernoux/micropython,hosaka/micropython,deshipu/micropython,galenhz/micropython,danicampora/micropython,selste/micropython,danicampora/micropython,skybird6672/micropython,emfcamp/micropython,neilh10/micropython,praemdonck/micropython,chrisdearman/micropython,noahwilliamsson/micropython,blmorris/micropython,mpalomer/micropython,ericsnowcurrently/micropython,oopy/micropython,adafruit/circuitpython,tobbad/micropython,rubencabrera/micropython,matthewelse/micropython,alex-robbins/micropython,MrSurly/micropython,dhylands/micropython,HenrikSolver/micropython,feilongfl/micropython,cnoviello/micropython,jimkmc/micropython,Peetz0r/micropython-esp32,infinnovation/micropython,pfalcon/micropython,cnoviello/micropython,adafruit/micropython,matthewelse/micropython,vriera/micropython,henriknelson/micropython,lowRISC/micropython,MrSurly/micropython-esp32,chrisdearman/micropython,tralamazza/micropython,TDAbboud/micropython,galenhz/micropython,mgyenik/micropython,redbear/micropython,tralamazza/micropython,tdautc19841202/micropython,ceramos/micropython,noahwilliamsson/micropython,suda/micropython,blazewicz/micropython,skybird6672/micropython,orionrobots/micropython,warner83/micropython,omtinez/micropython,hiway/micropython,kostyll/micropython,cloudformdesign/micropython,xhat/micropython,praemdonck/micropython,adamkh/micropython,xuxiaoxin/micropython,toolmacher/micropython,dinau/micropython,ganshun666/micropython,ahotam/micropython,noahwilliamsson/micropython,matthewelse/micropython,chrisdearman/micropython,feilongfl/micropython,xyb/micropython,henriknelson/micropython,neilh10/micropython,tdautc19841202/micropython,cloudformdesign/micropython,alex-march/micropython,EcmaXp/micropython,redbear/micropython,SHA2017-badge/micropython-esp32,noahwilliamsson/micropython,jmarcelino/pycom-micropython,paul-xxx/micropython,adafruit/micropython,puuu/micropython,EcmaXp/micropython,turbinenreiter/micropython,turbinenreiter/micropython,tdautc19841202/micropython,pozetroninc/micropython,puuu/micropython,vriera/micropython,vitiral/micropython,firstval/micropython,selste/micropython,tobbad/micropython,PappaPeppar/micropython,lbattraw/micropython,jimkmc/micropython,SHA2017-badge/micropython-esp32,toolmacher/micropython,galenhz/micropython,henriknelson/micropython,feilongfl/micropython,skybird6672/micropython,paul-xxx/micropython,xhat/micropython,micropython/micropython-esp32,alex-robbins/micropython,torwag/micropython,tdautc19841202/micropython,puuu/micropython,hosaka/micropython,Peetz0r/micropython-esp32,heisewangluo/micropython,noahchense/micropython,noahchense/micropython,MrSurly/micropython,alex-robbins/micropython,redbear/micropython,tralamazza/micropython,pozetroninc/micropython,kerneltask/micropython,ernesto-g/micropython,pozetroninc/micropython,MrSurly/micropython-esp32,warner83/micropython,alex-march/micropython,stonegithubs/micropython,ahotam/micropython,adamkh/micropython,warner83/micropython,dxxb/micropython,ryannathans/micropython,jmarcelino/pycom-micropython,kostyll/micropython,orionrobots/micropython,deshipu/micropython,martinribelotta/micropython,mgyenik/micropython,lbattraw/micropython,HenrikSolver/micropython,ruffy91/micropython,cloudformdesign/micropython,suda/micropython,torwag/micropython,noahchense/micropython,ahotam/micropython,xuxiaoxin/micropython,jimkmc/micropython,cwyark/micropython,jlillest/micropython,infinnovation/micropython,noahchense/micropython,trezor/micropython,ericsnowcurrently/micropython,dxxb/micropython,matthewelse/micropython,adafruit/micropython,skybird6672/micropython,supergis/micropython,paul-xxx/micropython,xyb/micropython,ruffy91/micropython,dinau/micropython,selste/micropython,firstval/micropython,ChuckM/micropython,noahchense/micropython,pfalcon/micropython,ryannathans/micropython,MrSurly/micropython,dxxb/micropython,deshipu/micropython,hiway/micropython,kostyll/micropython,slzatz/micropython,pfalcon/micropython,stonegithubs/micropython,tralamazza/micropython,blmorris/micropython,adamkh/micropython,EcmaXp/micropython,chrisdearman/micropython,hosaka/micropython,vitiral/micropython,ChuckM/micropython,cwyark/micropython,vitiral/micropython,oopy/micropython,alex-march/micropython,jlillest/micropython,ernesto-g/micropython,adafruit/circuitpython,feilongfl/micropython,ceramos/micropython,mianos/micropython,supergis/micropython,neilh10/micropython,AriZuu/micropython,heisewangluo/micropython,MrSurly/micropython,feilongfl/micropython,tuc-osg/micropython,drrk/micropython,jmarcelino/pycom-micropython,mhoffma/micropython,praemdonck/micropython,tobbad/micropython,Timmenem/micropython,MrSurly/micropython-esp32,drrk/micropython,MrSurly/micropython,cloudformdesign/micropython,TDAbboud/micropython,skybird6672/micropython,ernesto-g/micropython,slzatz/micropython,lowRISC/micropython,swegener/micropython,HenrikSolver/micropython,ericsnowcurrently/micropython,matthewelse/micropython,SHA2017-badge/micropython-esp32,adafruit/circuitpython,paul-xxx/micropython,martinribelotta/micropython,mgyenik/micropython,ceramos/micropython,kerneltask/micropython,puuu/micropython,turbinenreiter/micropython,ruffy91/micropython,dxxb/micropython,micropython/micropython-esp32,suda/micropython,ryannathans/micropython,AriZuu/micropython,heisewangluo/micropython,ernesto-g/micropython,PappaPeppar/micropython,ryannathans/micropython,mhoffma/micropython,jimkmc/micropython,emfcamp/micropython,xyb/micropython,jmarcelino/pycom-micropython,blmorris/micropython,pramasoul/micropython,pramasoul/micropython,oopy/micropython,turbinenreiter/micropython,swegener/micropython,micropython/micropython-esp32,oopy/micropython,stonegithubs/micropython,mpalomer/micropython,mpalomer/micropython,pramasoul/micropython,neilh10/micropython,dxxb/micropython,tuc-osg/micropython,hiway/micropython,omtinez/micropython,adafruit/circuitpython,firstval/micropython,tuc-osg/micropython,orionrobots/micropython,TDAbboud/micropython,praemdonck/micropython,ChuckM/micropython,dmazzella/micropython,xuxiaoxin/micropython,redbear/micropython,toolmacher/micropython,bvernoux/micropython,ganshun666/micropython,galenhz/micropython,pramasoul/micropython,Peetz0r/micropython-esp32,mianos/micropython,dhylands/micropython,dinau/micropython,trezor/micropython,cnoviello/micropython,Timmenem/micropython,warner83/micropython,mpalomer/micropython,dmazzella/micropython,deshipu/micropython,cwyark/micropython,hosaka/micropython,warner83/micropython,chrisdearman/micropython,rubencabrera/micropython,danicampora/micropython,jimkmc/micropython,hosaka/micropython,utopiaprince/micropython,dmazzella/micropython,adafruit/micropython,xhat/micropython,misterdanb/micropython,danicampora/micropython,lbattraw/micropython,alex-robbins/micropython,EcmaXp/micropython,xhat/micropython,vriera/micropython,supergis/micropython,dhylands/micropython,mgyenik/micropython,slzatz/micropython,lowRISC/micropython,ChuckM/micropython,EcmaXp/micropython,pfalcon/micropython,ahotam/micropython,jlillest/micropython,trezor/micropython,utopiaprince/micropython,kerneltask/micropython,martinribelotta/micropython,turbinenreiter/micropython,mianos/micropython,SHA2017-badge/micropython-esp32,AriZuu/micropython,praemdonck/micropython,deshipu/micropython,tuc-osg/micropython