bugMPFRCPP: The C++ Interface to MPFR Library - Bugs: bug #61781, Eulers number wrong


bug #61781: Eulers number wrong

Submitter:  None
Submitted:  Sun 09 Jan 2022 06:26:24 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Sun 09 Jan 2022 06:26:24 PM UTC, original submission:  

I've tried finding a way to report this bug to mpfr itself, but apparently there's no way to contact any of the people involved, that's why I'm submitting this here.

I'm working on a calculator for which I'm using mpfr (C++). I have noticed that mpfr::const_euler() returns 0.57722 instead of e. For now, as a work-around, I'm just parsing it as a string, but having const_euler() return the right value would be nice. Is there something I'm missing? Maybe I need to initialize something before I can use these constant functions (although PI seems to work fine)

Version info:



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code