New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Categorize functions in std.math #2567
Conversation
Nice, thanks! cc @ibuclaw |
@@ -1,6 +1,53 @@ | |||
// Written in the D programming language. | |||
|
|||
/** | |||
<script type="text/javascript">inhibitQuickIndex = 1</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add this to std.ddoc:
SCRIPT = <script type="text/javascript">$0</script>
then use it on this line like so:
$(SCRIPT inhibitQuickIndex = 1;)
Thanks! That way we won't get the PDF generation messed up.
Thanks for doing this!! |
I suggest to merge the "classics" and "trigonomery" categories into a single section, perhaps call it "standard mathematical functions". I don't see much point in singling out things like Also, in English it's more common to use the terms "exponentiation & logarithm" rather than "exponents". I would break up the "miscellaneous" section into "Hardware control", and move In the meantime, though, perhaps Finally, it's probably a good idea to put the "constants" section at the top, instead of somewhere in the middle where it's not so obvious to find. |
@quickfur - Thanks for the feedback :). Here's my thoughts:
The hardware control category, complex numbers category, and rearranging of constants section sound reasonable. I intend to push revisions by end of day. |
Made the requested changes. @andralex - Made the PR for std.ddoc dlang/dlang.org#668 and changed std/string.d so that it also uses this new macro. |
Pulled that, @quickfur are we in good shape? |
Yes, let's do it. We can do cleanups later if necessary. |
Auto-merge toggled on |
Categorize functions in std.math
@andralex looks good to me %-) |
Add a table to std.math so that the functions/constants are categorized similarly to std.algorithm.
I intend to ramp this up and perform similar modifications across the board assuming this gets positive feedback.
https://issues.dlang.org/show_bug.cgi?id=13555
Precedent: 7fdfa02
Results: