7 augustus 2019, 08:16
|
#41
|
Secretaris-Generaal VN
Geregistreerd: 24 februari 2009
Locatie: Grenoble, Frankrijk
Berichten: 117.299
|
Die "Reverse Polish" wordt bijvoorbeeld toegepast in de bitcoin scripting taal.
https://blockgeni.com/an-introductio...ge-btcmanager/
Citaat:
Bitcoin’s coding language uses “reverse polish” as a system of notation, meaning lines such as “3 + 4” will appear as “3 4+” with growing complexity.
|
Citaat:
An operation like “3 4+,” would behave in the following:
Push “3” on to the stack.
Push “4” on to the stack.
The “+” operator, takes these two parameters, pops them both off the stack, adds them together, then pushes the result back on the stack. (i.e., pop, pop, add, push)
The resulting operation leads, in this case, to a “7” on the stack and the program terminates.
|
Nochtans zijn de Chinezen goed in bitcoin 
Laatst gewijzigd door patrickve : 7 augustus 2019 om 08:16.
|
|
|