generate platform_ops.h from platform_ops.proto, and reduce dependencies
[proto.git] / lib / core / denormalizeN.proto
blob8da59f8ae1fc13295f082b853b4dfe63fb73e169
1 (def denormalizeN (x oldmin oldmax newmin newmax)
2   (+ (- newmin oldmin)
3      (* x
4         (/ (- newmax newmin)
5            (- oldmax oldmin)))))