Skip to content

Reduce *Log b (n * b^f) to *Log b n + f#43

Open
rowanG077 wants to merge 2 commits intomasterfrom
clog_commute_const
Open

Reduce *Log b (n * b^f) to *Log b n + f#43
rowanG077 wants to merge 2 commits intomasterfrom
clog_commute_const

Conversation

@rowanG077
Copy link
Copy Markdown
Member

Fixes #42

I added the same reduction for FLog and CLog. Code is not super pretty since there are quite a bit of conversions between different type representations.

Copy link
Copy Markdown
Member

@martijnbastiaan martijnbastiaan left a comment

Choose a reason for hiding this comment

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

Core logic LGTM, mostly style+doc changes requested.

@rowanG077 rowanG077 changed the title Reduce *Log b (n * b^f) to *Log b n * f Reduce *Log b (n * b^f) to *Log b n + f Jul 11, 2022
@rowanG077 rowanG077 force-pushed the clog_commute_const branch from 7f26b14 to 27d5dd4 Compare July 11, 2022 21:17
@rowanG077
Copy link
Copy Markdown
Member Author

rowanG077 commented Jul 11, 2022

I fixed the requested change and also bumped the version to 0.4.4 in the cabal file.

@rowanG077 rowanG077 force-pushed the clog_commute_const branch 3 times, most recently from 3a7a1ba to f36f13f Compare July 12, 2022 01:20
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.

Could not deduce: CLog 2 (n * 2) ~ CLog 2 n + 1

3 participants