Posts by Isaque de Souza • 41 points
3 posts
-
0
votes1
answer63
viewsQ: A function that does the opposite of an addition mod 2³²
def mod_2to32sub1(x): s = 0 # the sum while x > 0: # get the digits s += x & (2**32-1) x >>= 32 if s > 2**32-1: return mod_2to32sub1(s) elif s == 2**32-1: return 0 else: return s…
-
1
votes1
answer48
viewsQ: Event handler for td?
Guys, first a good day. Well, I wonder if it is possible to create a handler in case a -td- is modified. Example. I have the following code: <table> <tr> <td>Olá</td>…
jqueryasked Isaque de Souza 41 -
0
votes2
answers89
viewsQ: How to simulate click only one button and not both?
I think the question sounds confusing, but calm down, I’ll explain it better. Type, on a given page, there are 2 Buttons with the same class, having as difference only their value, and an attribute…