1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 19:49:02 -08:00
rc/sh/conv
2013-10-21 01:36:41 -07:00

5 lines
83 B
Bash

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