This circuit sources and sinks just Nanoamps of current with precision due to the low input bias current of the CMOS op amps. A buffered difference amplifier and an integrator force the voltage across a 10Meg ohm set resistor to be 1/1000 of the control input voltage in either polarity.