Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
from math import pi, exp
|
||||
r = exp(pi)-pi
|
||||
print r
|
||||
print "e=%e f=%f g=%g G=%G s=%s r=%r!"%(r,r,r,r,r,r)
|
||||
print "e=%9.4e f=%9.4f g=%9.4g!"%(-r,-r,-r)
|
||||
print "e=%9.4e f=%9.4f g=%9.4g!"%(r,r,r)
|
||||
print "e=%-9.4e f=%-9.4f g=%-9.4g!"%(r,r,r)
|
||||
print "e=%09.4e f=%09.4f g=%09.4g!"%(-r,-r,-r)
|
||||
print "e=%09.4e f=%09.4f g=%09.4g!"%(r,r,r)
|
||||
print "e=%-09.4e f=%-09.4f g=%-09.4g!"%(r,r,r)
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
from math import pi, exp
|
||||
r = exp(pi)-pi
|
||||
print(r)
|
||||
print("e={0:e} f={0:f} g={0:g} G={0:G} s={0!s} r={0!r}!".format(r))
|
||||
print("e={0:9.4e} f={0:9.4f} g={0:9.4g}!".format(-r))
|
||||
print("e={0:9.4e} f={0:9.4f} g={0:9.4g}!".format(r))
|
||||
print("e={0:-9.4e} f={0:-9.4f} g={0:-9.4g}!".format(r))
|
||||
print("e={0:09.4e} f={0:09.4f} g={0:09.4g}!".format(-r))
|
||||
print("e={0:09.4e} f={0:09.4f} g={0:09.4g}!".format(r))
|
||||
print("e={0:-09.4e} f={0:-09.4f} g={0:-09.4g}!".format(r))
|
||||
Loading…
Add table
Add a link
Reference in a new issue