1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-18 17:53:23 -07:00
This commit is contained in:
Connor Olding 2013-10-21 01:03:25 -07:00
parent 2769fb38fc
commit e0a7bf3e03
2 changed files with 8 additions and 0 deletions

4
sh/conv Normal file
View File

@ -0,0 +1,4 @@
#!/bin/zsh
conv() {
printf "%08x\n" $(((0x$1-0x4F920000+0x80000000)^3))
}

4
sh/unconv Normal file
View File

@ -0,0 +1,4 @@
#!/bin/zsh
unconv() {
printf "%08x\n" $(((0x$1^3)&0x00FFFFFF+0x4F920000))
}