Skip to content

Add warnings about large exponents to Real and RealFrac - #107

Open
noughtmare wants to merge 1 commit into
basvandijk:masterfrom
noughtmare:master
Open

Add warnings about large exponents to Real and RealFrac#107
noughtmare wants to merge 1 commit into
basvandijk:masterfrom
noughtmare:master

Conversation

@noughtmare

Copy link
Copy Markdown

No description provided.

@phadej

phadej commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

I wonder if we rather should remove these instances right away. I don't see anything useful and safe in them.

-- <https://en.wikipedia.org/wiki/Repeating_decimal repeating decimals>.
--
-- These methods also compute 'Integer' magnitudes (@10^e@). If these methods
-- are applied to arguments which have huge exponents this could fill up all

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OTOH, Fractional is also dangerous, and Num and...

So I'm not sure whether the warning on Real and RealFrac is worth it. Could make people incorrectly assume that everything else is "safe".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants