HP was a huge company back then. They made a lot more than consumer products and they didn't focus on any one thing. They made everything from oscilloscopes to calculators, primarily for scientists and engineers. It isn't like they laid off oscilloscope designers to hire people for the calculator division.