Skip to content

Instantly share code, notes, and snippets.

@ChillarAnand
Created March 30, 2016 08:14
Show Gist options
  • Select an option

  • Save ChillarAnand/2a192e6502ff813a15f0b9818ff6b7b5 to your computer and use it in GitHub Desktop.

Select an option

Save ChillarAnand/2a192e6502ff813a15f0b9818ff6b7b5 to your computer and use it in GitHub Desktop.
big float
In [31]: v = numpy.linspace(0, 100, 10)
In [32]: from bigfloat import precision, exp
In [33]: with precision(100000):
....: j = [bigfloat.exp(i/1.3806488e-23) for i in v]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment