Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
6
Task/Map-range/EasyLang/map-range.easy
Normal file
6
Task/Map-range/EasyLang/map-range.easy
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
func map_range a1 a2 b1 b2 s .
|
||||
return b1 + (s - a1) * (b2 - b1) / (a2 - a1)
|
||||
.
|
||||
for i = 0 to 10
|
||||
print i & " -> " & map_range 0 10 -1 0 i
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue