[stdlib] Integer parsing: Add two important checks
[stdlib] Integer parsing: Add two important checks

Swift SVN r25550

return/swift,return/swift,CodaFi/swift,brentdax/swift,arvedviehweger/swift,ken0nek/swift,austinzheng/swift,JGiola/swift,frootloops/swift,kperryua/swift,tardieu/swift,atrick/swift,Ivacker/swift,allevato/swift,alblue/swift,calebd/swift,uasys/swift,glessard/swift,milseman/swift,gmilos/swift,apple/swift,swiftix/swift,sdulal/swift,return/swift,allevato/swift,rudkx/swift,stephentyrone/swift,JGiola/swift,kperryua/swift,natecook1000/swift,xwu/swift,CodaFi/swift,kperryua/swift,roambotics/swift,harlanhaskins/swift,johnno1962d/swift,MukeshKumarS/Swift,jmgc/swift,gribozavr/swift,emilstahl/swift,Ivacker/swift,benlangmuir/swift,danielmartin/swift,gregomni/swift,shajrawi/swift,hughbe/swift,mightydeveloper/swift,gottesmm/swift,JGiola/swift,bitjammer/swift,xedin/swift,kperryua/swift,apple/swift,jmgc/swift,felix91gr/swift,felix91gr/swift,bitjammer/swift,deyton/swift,airspeedswift/swift,gmilos/swift,karwa/swift,felix91gr/swift,jckarter/swift,austinzheng/swift,amraboelela/swift,milseman/swift,tinysun212/swift-windows,devincoughlin/swift,swiftix/swift,russbishop/swift,nathawes/swift,hooman/swift,deyton/swift,kusl/swift,cbrentharris/swift,khizkhiz/swift,mightydeveloper/swift,adrfer/swift,gmilos/swift,kstaring/swift,JGiola/swift,gmilos/swift,xwu/swift,arvedviehweger/swift,emilstahl/swift,shahmishal/swift,frootloops/swift,roambotics/swift,danielmartin/swift,apple/swift,shahmishal/swift,zisko/swift,slavapestov/swift,dreamsxin/swift,sschiau/swift,kentya6/swift,sdulal/swift,russbishop/swift,shahmishal/swift,calebd/swift,tardieu/swift,sdulal/swift,lorentey/swift,cbrentharris/swift,aschwaighofer/swift,CodaFi/swift,sdulal/swift,roambotics/swift,CodaFi/swift,parkera/swift,KrishMunot/swift,emilstahl/swift,hughbe/swift,tkremenek/swift,shajrawi/swift,MukeshKumarS/Swift,jmgc/swift,tinysun212/swift-windows,aschwaighofer/swift,codestergit/swift,tinysun212/swift-windows,parkera/swift,calebd/swift,frootloops/swift,lorentey/swift,swiftix/swift.old,johnno1962d/swift,shajrawi/swift,ken0nek/swift,kusl/swift,djwbrown/swift,alblue/swift,roambotics/swift,russbishop/swift,zisko/swift,tinysun212/swift-windows,xedin/swift,MukeshKumarS/Swift,gmilos/swift,allevato/swift,glessard/swift,xwu/swift,gregomni/swift,allevato/swift,JaSpa/swift,adrfer/swift,codestergit/swift,JGiola/swift,devincoughlin/swift,Ivacker/swift,ken0nek/swift,JaSpa/swift,Jnosh/swift,JaSpa/swift,cbrentharris/swift,JaSpa/swift,apple/swift,ken0nek/swift,OscarSwanros/swift,kstaring/swift,ben-ng/swift,natecook1000/swift,ken0nek/swift,shajrawi/swift,stephentyrone/swift,IngmarStein/swift,CodaFi/swift,huonw/swift,uasys/swift,frootloops/swift,modocache/swift,stephentyrone/swift,roambotics/swift,atrick/swift,swiftix/swift,IngmarStein/swift,practicalswift/swift,jckarter/swift,jopamer/swift,xedin/swift,harlanhaskins/swift,modocache/swift,MukeshKumarS/Swift,arvedviehweger/swift,devincoughlin/swift,SwiftAndroid/swift,swiftix/swift.old,arvedviehweger/swift,JaSpa/swift,therealbnut/swift,amraboelela/swift,manavgabhawala/swift,ben-ng/swift,xedin/swift,frootloops/swift,rudkx/swift,lorentey/swift,milseman/swift,swiftix/swift,jopamer/swift,aschwaighofer/swift,jopamer/swift,jckarter/swift,cbrentharris/swift,therealbnut/swift,benlangmuir/swift,emilstahl/swift,djwbrown/swift,JGiola/swift,jopamer/swift,emilstahl/swift,natecook1000/swift,jmgc/swift,austinzheng/swift,kentya6/swift,zisko/swift,tkremenek/swift,benlangmuir/swift,milseman/swift,jtbandes/swift,sschiau/swift,ken0nek/swift,jmgc/swift,rudkx/swift,modocache/swift,tardieu/swift,amraboelela/swift,benlangmuir/swift,felix91gr/swift,OscarSwanros/swift,jckarter/swift,airspeedswift/swift,alblue/swift,ben-ng/swift,sschiau/swift,allevato/swift,ahoppen/swift,lorentey/swift,gregomni/swift,stephentyrone/swift,nathawes/swift,gribozavr/swift,sdulal/swift,LeoShimonaka/swift,dduan/swift,apple/swift,OscarSwanros/swift,return/swift,devincoughlin/swift,kstaring/swift,tjw/swift,bitjammer/swift,atrick/swift,mightydeveloper/swift,Jnosh/swift,adrfer/swift,austinzheng/swift,zisko/swift,bitjammer/swift,khizkhiz/swift,austinzheng/swift,codestergit/swift,swiftix/swift,MukeshKumarS/Swift,hughbe/swift,Ivacker/swift,tjw/swift,parkera/swift,karwa/swift,SwiftAndroid/swift,amraboelela/swift,hughbe/swift,dduan/swift,jtbandes/swift,danielmartin/swift,allevato/swift,shajrawi/swift,lorentey/swift,practicalswift/swift,huonw/swift,therealbnut/swift,slavapestov/swift,gottesmm/swift,airspeedswift/swift,stephentyrone/swift,jckarter/swift,tinysun212/swift-windows,codestergit/swift,bitjammer/swift,brentdax/swift,huonw/swift,tjw/swift,jmgc/swift,LeoShimonaka/swift,dduan/swift,xwu/swift,alblue/swift,xedin/swift,SwiftAndroid/swift,alblue/swift,nathawes/swift,harlanhaskins/swift,calebd/swift,mightydeveloper/swift,felix91gr/swift,bitjammer/swift,Jnosh/swift,therealbnut/swift,tkremenek/swift,codestergit/swift,OscarSwanros/swift,calebd/swift,swiftix/swift,kstaring/swift,LeoShimonaka/swift,manavgabhawala/swift,airspeedswift/swift,glessard/swift,austinzheng/swift,shahmishal/swift,return/swift,sdulal/swift,gmilos/swift,JaSpa/swift,brentdax/swift,lorentey/swift,swiftix/swift.old,swiftix/swift.old,xwu/swift,gribozavr/swift,khizkhiz/swift,sschiau/swift,frootloops/swift,russbishop/swift,KrishMunot/swift,hughbe/swift,LeoShimonaka/swift,milseman/swift,tkremenek/swift,atrick/swift,huonw/swift,lorentey/swift,johnno1962d/swift,russbishop/swift,arvedviehweger/swift,dreamsxin/swift,Ivacker/swift,jckarter/swift,parkera/swift,tinysun212/swift-windows,khizkhiz/swift,practicalswift/swift,gottesmm/swift,tinysun212/swift-windows,manavgabhawala/swift,manavgabhawala/swift,johnno1962d/swift,ahoppen/swift,parkera/swift,IngmarStein/swift,hooman/swift,gribozavr/swift,airspeedswift/swift,codestergit/swift,Ivacker/swift,djwbrown/swift,austinzheng/swift,gottesmm/swift,tjw/swift,johnno1962d/swift,tkremenek/swift,milseman/swift,karwa/swift,dduan/swift,calebd/swift,aschwaighofer/swift,IngmarStein/swift,jtbandes/swift,benlangmuir/swift,mightydeveloper/swift,tardieu/swift,xedin/swift,benlangmuir/swift,harlanhaskins/swift,Jnosh/swift,slavapestov/swift,xedin/swift,adrfer/swift,deyton/swift,karwa/swift,felix91gr/swift,harlanhaskins/swift,uasys/swift,adrfer/swift,aschwaighofer/swift,cbrentharris/swift,kperryua/swift,modocache/swift,ahoppen/swift,lorentey/swift,jckarter/swift,therealbnut/swift,swiftix/swift.old,cbrentharris/swift,hooman/swift,shahmishal/swift,sschiau/swift,devincoughlin/swift,kusl/swift,Jnosh/swift,gribozavr/swift,gribozavr/swift,modocache/swift,gregomni/swift,mightydeveloper/swift,nathawes/swift,tjw/swift,devincoughlin/swift,gottesmm/swift,brentdax/swift,ben-ng/swift,mightydeveloper/swift,SwiftAndroid/swift,shahmishal/swift,Jnosh/swift,kusl/swift,hooman/swift,practicalswift/swift,aschwaighofer/swift,deyton/swift,ahoppen/swift,nathawes/swift,huonw/swift,codestergit/swift,Ivacker/swift,kstaring/swift,practicalswift/swift,jtbandes/swift,xedin/swift,parkera/swift,gmilos/swift,kusl/swift,swiftix/swift,jopamer/swift,harlanhaskins/swift,sdulal/swift,uasys/swift,brentdax/swift,uasys/swift,LeoShimonaka/swift,emilstahl/swift,roambotics/swift,apple/swift,gottesmm/swift,khizkhiz/swift,KrishMunot/swift,danielmartin/swift,slavapestov/swift,hooman/swift,ben-ng/swift,kentya6/swift,natecook1000/swift,glessard/swift,zisko/swift,karwa/swift,mightydeveloper/swift,kentya6/swift,parkera/swift,milseman/swift,kusl/swift,shahmishal/swift,arvedviehweger/swift,johnno1962d/swift,kperryua/swift,jtbandes/swift,ahoppen/swift,modocache/swift,johnno1962d/swift,amraboelela/swift,jmgc/swift,IngmarStein/swift,karwa/swift,cbrentharris/swift,adrfer/swift,airspeedswift/swift,gottesmm/swift,devincoughlin/swift,deyton/swift,slavapestov/swift,MukeshKumarS/Swift,danielmartin/swift,rudkx/swift,kentya6/swift,shajrawi/swift,airspeedswift/swift,IngmarStein/swift,dduan/swift,brentdax/swift,natecook1000/swift,manavgabhawala/swift,return/swift,LeoShimonaka/swift,shajrawi/swift,tkremenek/swift,kentya6/swift,atrick/swift,djwbrown/swift,kusl/swift,rudkx/swift,harlanhaskins/swift,kstaring/swift,sschiau/swift,xwu/swift,practicalswift/swift,JaSpa/swift,manavgabhawala/swift,zisko/swift,kstaring/swift,sschiau/swift,alblue/swift,OscarSwanros/swift,uasys/swift,djwbrown/swift,SwiftAndroid/swift,gribozavr/swift,jopamer/swift,tardieu/swift,rudkx/swift,Ivacker/swift,shajrawi/swift,gregomni/swift,danielmartin/swift,nathawes/swift,modocache/swift,sschiau/swift,ahoppen/swift,glessard/swift,jopamer/swift,jtbandes/swift,slavapestov/swift,therealbnut/swift,amraboelela/swift,jtbandes/swift,slavapestov/swift,tkremenek/swift,tjw/swift,amraboelela/swift,devincoughlin/swift,deyton/swift,KrishMunot/swift,KrishMunot/swift,swiftix/swift.old,deyton/swift,ben-ng/swift,tardieu/swift,sdulal/swift,ben-ng/swift,nathawes/swift,natecook1000/swift,kentya6/swift,huonw/swift,parkera/swift,return/swift,tardieu/swift,glessard/swift,arvedviehweger/swift,CodaFi/swift,CodaFi/swift,KrishMunot/swift,danielmartin/swift,tjw/swift,Jnosh/swift,karwa/swift,ken0nek/swift,IngmarStein/swift,djwbrown/swift,bitjammer/swift,OscarSwanros/swift,dduan/swift,practicalswift/swift,hughbe/swift,adrfer/swift,cbrentharris/swift,khizkhiz/swift,manavgabhawala/swift,frootloops/swift,uasys/swift,shahmishal/swift,MukeshKumarS/Swift,hooman/swift,xwu/swift,gregomni/swift,gribozavr/swift,LeoShimonaka/swift,practicalswift/swift,kentya6/swift,stephentyrone/swift,felix91gr/swift,SwiftAndroid/swift,zisko/swift,therealbnut/swift,KrishMunot/swift,brentdax/swift,alblue/swift,natecook1000/swift,kusl/swift,russbishop/swift,stephentyrone/swift,emilstahl/swift,OscarSwanros/swift,khizkhiz/swift,kperryua/swift,emilstahl/swift,calebd/swift,hughbe/swift,hooman/swift,russbishop/swift,dduan/swift,allevato/swift,swiftix/swift.old,LeoShimonaka/swift,djwbrown/swift,huonw/swift,karwa/swift,SwiftAndroid/swift,atrick/swift,aschwaighofer/swift,swiftix/swift.old