double one(double x)

Constant function, returns 1.