tone mapping HDR?

Has anyone tried tone mapping within Blender (nodes)?
I’m interested in so called Mantiuk method of tone mapping:

for source code and the effect using this method has on HDR images, see for example Luminance HDR project:

I’m not that good of a coder to find out from the source what is the method myself.
If anyone has time to look into it and explain the rest of us how to do it in blender…

Thanks in advance.

Tonemapping was added in 2.46.

I’m only interested of Mantiuk’s tone mapping. This is not one of the Blender “tonemapping” options. Different tone mapping methods give a different look.