repo.or.cz
/
proto.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
generate platform_ops.h from platform_ops.proto, and reduce dependencies
[proto.git]
/
lib
/
core
/
denormalizeN.proto
blob
8da59f8ae1fc13295f082b853b4dfe63fb73e169
1
(def denormalizeN (x oldmin oldmax newmin newmax)
2
(+ (- newmin oldmin)
3
(* x
4
(/ (- newmax newmin)
5
(- oldmax oldmin)))))