1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // Code generated by ecal/stdlib/generate; DO NOT EDIT.
- package stdlib
- import (
- "fmt"
- "math"
- "reflect"
- )
- /*
- genStdlib contains all generated stdlib constructs.
- */
- var genStdlib = map[interface{}]interface{}{
- "math-synopsis": "Mathematics-related constants and functions",
- "math-const": mathConstMap,
- "math-func": mathFuncMap,
- "math-func-doc": mathFuncDocMap,
- }
- /*
- mathConstMap contains the mapping of stdlib math constants.
- */
- var mathConstMap = map[interface{}]interface{}{
- "E": float64(math.E),
- "Phi": float64(math.Phi),
- "Pi": float64(math.Pi),
- }
- /*
- mathFuncDocMap contains the documentation of stdlib math functions.
- */
- var mathFuncDocMap = map[interface{}]interface{}{}
- /*
- mathFuncMap contains the mapping of stdlib math functions.
- */
- var mathFuncMap = map[interface{}]interface{}{}
- // Dummy statement to prevent declared and not used errors
- var Dummy = fmt.Sprint(reflect.ValueOf(fmt.Sprint))
|