Conversation
|
It is currently just an alphabetical list of LibTomMath's functions with the obligatory man-page boilerplates. |
|
How did you generate this? (Please don't say by hand 😂) |
How can I answer that question if you forbid me to tell you? ;-) But serious: grep'd the functions, formatted them with a bit of sed and tr and c&p'ed a lot of text from bn.tex. |
|
Seems as if I am innocent this time: |
|
Digged through my shell history: grep -E "^mp_err" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
grep -E "^void" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
grep -E "^int" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
grep -E "^uint" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
grep -E "^long" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
grep -E "^bool" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
grep -E "^size_t" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
grep -E "define mp" doc/bn.tex | sed -e 's/ /\\ /g;s/^/.LP /' >> ~/DIV_C_FILES/ltm_functions
...
sort -u ~/DIV_C_FILES/ltm_functions | > ~/DIV_C_FILES/ltm_functions_uniq
...
sort -k 3 ~/DIV_C_FILES/ltm_functions.troff > ~/DIV_C_FILES/ltm_functions.troff_bis
mv -v ~/DIV_C_FILES/ltm_functions.troff_bis ~/DIV_C_FILES/ltm_functions.troffThe rest was done in the editor, so no "automagic" latex2troff here, sorry. There is |
|
Can you please cross check what I added? |
I also tried it out, but couldn't get it working... |
sjaeckel
left a comment
There was a problem hiding this comment.
Should we maybe also install the manpages from the regular makefiles?
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
You added a check in
Yes. We have it, we What about the two random examples at the end? We have a couple in Nah, not today, the odd problems with the timing over at #499 are enough for now. |
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
I've fixed them (at least to compile w/o warnings), will push it after I've merged this PR. |
Oh, you are way too fast! Couldn't get even a start point with the radix conversion problem, so I grabbed the low hanging fruits first and repaired the files in Sorry. |
A Troff formatted man-page.