Files
marqdo/man-test/lib/math.mq.md
T
cflmyandCursor 1f23e2ed93 Add module namespaces and harden L1/agent after the import redesign.
Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:28:32 +08:00

33 lines
372 B
Markdown

---
title: 手工构造的测试样例
description: AI禁止更改
> lib/math.mq.md
---
# main
`f` =
$$
x^2 + 2
$$
`f` =
$$
x^2 - 2
$$
*`ty` = > type `f` *
> print text=`ty`
*`df` = > math.diff formula=`f` var=x *
> print text=`df`
*`roots` = > math.solve formula=`f` var=x *
> print text=`roots`
*`y` = > math.eval formula=`f` var=x value=3 *
> print text=`y`