Skip to main content

Ruthless Rounding at it's Finest :)

Project description

# zEquals :)

Because it starts with a z.
Because I've heard about it via 'Numberphile'.
Because it's awesome.

Basic usage:

>>> from zequals import *
>>> zMul(1345,653)

If you are thinking : Now what's the use, 1345 times 653 should be 589680....

Please take a look here :

But it get's better!

After installing zequals one could do this :

from zequals import z

def myAwesomeMathFunctions(x,y,z):
d = someWickedCalculus(x,y)
f = someOtherWeirdThing(z,x)
return d/f

The 'deocration' of your function with the @z decorator will make sure all
arguments passed to your function will be 'zequalized'.

Real World Example:

import math

def myFunc(a,b):
return math.sqrt((a*a) + (b*b))

# will yield : 3758.03911634778

now once we go

def myFunc(a,b):
return math.sqrt((a*a) + (b*b))

# will yield 3754.210969031975

GitHub Repo :

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zequals, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size zequals-0.0.5.macosx-10.8-intel.exe (63.3 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size zequals-0.0.5.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page