A variable storage method for conic functions