BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett
This version can be pinned in stack with:log-domain-0.9.3@sha256:043f318490953896c9ae7eeef75f229527affb81d3f41f7a18aaf9f3ad8ed980,2343

Module documentation for 0.9.3

  • Numeric
    • Numeric.Log

log

Build Status

What rolls down stairs alone or in pairs
Rolls over your neighbor’s dog?
What’s great for a snack and fits on your back?
It’s Log, Log, Log!

It’s Log, Log, it’s big, it’s heavy, it’s wood.
It’s Log, Log, it’s better than bad, it’s good!
Everyone wants a log! You’re gonna love it, Log!
Come on and get your log! Everyone needs a Log!”

– Ren & Stimpy, The Log Song

This package provides log-domain floats, doubles and complex numbers.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett

Changes

0.9.3

  • Fixed subtraction again. For real this time.

0.9.2.1

  • Support generic-deriving 1.7

0.9.2

  • Fixed subtraction better.

0.9.1

  • Fixed subtraction.

0.8

  • Updated to comonad and semigroupoids 4.

0.7.2

  • Dependency bump to allow comonad and semigroupoids 4.0

0.7.1

  • Marked Numeric.Log Trustworthy.

0.6

  • Renamed the data constructor to Exp and the field accessor to ln per issue #1.

0.5.0.1

  • Wider bounds for generic-deriving so we can build with GHC HEAD.

0.5

  • Switched the Hashable1 instance to use the new, lighter, hashable-extras

0.4

  • instance Hashable1 Log

0.3.0.1

  • Wider binary version bound

0.3

  • Added support for cereal.

0.2

  • Added an Enum instance.
  • Added sum to calculate using the log-sum-exp trick.

0.1.0.1

  • Minor packaging changes

0.1

  • Renamed from log to log-domain due to internal hackage issues rendering that name inaccessible.
  • Ported Numeric.Log from analytics at the request of @bgamari