Can't believe but last night I opened my multi output power supply (built with just 12 fixed output regulators) and the one I needed to check was a 340 also marked 7805. I had forgot the detail after assembling it, probably more than 10 or 15 years ago...Ok, thanks for the long and excellent explanation. You made me get off of my duff and walk down to check the part. You are absolutely right and I mis-remembered. The parts I have are 340/78xx. I always wanted to know why they were dual marked but sorry for the mistaken part number.
Sure I read datasheets even if I cannot get full benefit from them.
My datasheet (Linears) regulators, opamps, comaprators, ADC /DAC, etc is dated 1982.