aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/InMem/FloatsMod.yql
blob: efa89ba44cf6f8d99774590fc2b96c4b06d2c38e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
#comment
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let world (Write! world res_sink (Key) (Mod (Double '3.3) (Double '1.7)) '('('type))))
(let world (Write! world res_sink (Key) (Mod (Float '-7.5) (Double '0.7)) '('('type))))
(let world (Write! world res_sink (Key) (Mod (Double '-0.3) (Float '-3.8)) '('('type))))
(let world (Write! world res_sink (Key) (Mod (Float '4.75) (Float '-2.5)) '('('type))))

(let world (Commit! world res_sink))
(return world)
)