I understand that op-amps have low input currents; that's one of their defining characteristics. But looking at the datasheet for the LMC6001 (amusingly called an "Ultra, Ultra-Low Input Current Amplifier" because one ultra just wasn't enough), I have to wonder: how the <censored> do they get such low input currents‽
The LMC6001 claims a maximum input bias current at 25°C of 25 femtoamperes. With its rated input offset voltage of 10mV between the pins, that's equivalent to a 400 GΩ resistor between the inputs, which are two adjacent pins on an SOIC package. And the equivalent input-to-power resistances are even higher!
And then if you look at comparators, it's even more impressive. Take for example the TLV7211, where the equivalent input-to-input and input-to-power resistances are on the order of 100 TΩ, while being in an even smaller SC-70 package. How is this not dominated by leakage currents through the PCB and packaging?