Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The 8087 floating point coprocessor has the FBLD instruction to load an 18-digit BCD number and FIST to store an integer. So once you convert from ASCII to BCD, the remaining conversion is two instructions. This is probably the most efficient way to do the parsing, if you're in 1980.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: