1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 22:29:03 -08:00
rc/sh/conv

6 lines
83 B
Text
Raw Normal View History

2013-10-21 01:03:25 -07:00
#!/bin/zsh
conv() {
printf "%08x\n" $(((0x$1-0x4F920000+0x80000000)^3))
}
2013-10-21 01:36:13 -07:00
conv $1