PageRenderTime 26ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/go/wrapmacro_runme.go

#
Go | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | cc17145323e5a645f0fd45e82e0c7960 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. package main
  2. import "./wrapmacro"
  3. func main() {
  4. a := 2
  5. b := -1
  6. wrapmacro.Maximum(a, b)
  7. wrapmacro.Maximum(a/7.0, -b*256)
  8. wrapmacro.GUINT16_SWAP_LE_BE_CONSTANT(1)
  9. }