[Libre-soc-bugs] [Bug 755] add grev instruction (OP_GREV)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Dec 23 07:06:26 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=755

--- Comment #14 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #12)
> ascii art's great, sphinx plugin can turn it into an image.
>   irony: you can have too many comments, they become
> a distraction esp. when the function is 2 lines and comments 10-12
> 
> spelling: "it's" is not a relative pronoun. it's short for the two words,
> "it" and "is".

ah yeah, annoying english spelling. I totally didn't notice when I wrote it,
even though I usually catch that.

>  also "cuz" is fine in IRC but not documentation.
> 
> inter function can go (1 liner made from these)
> https://stackoverflow.com/questions/339007/how-to-pad-zeroes-to-a-string
> https://stackoverflow.com/questions/16060899/alphabet-range-in-python
> 
> string.ascii_lowercase[:-length].rjust(fixedlen, "0")

that only works for the msb_first is False case. when msb_first is True, it
produces names like 0buvwx00, which the above code doesn't do.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list