查看“模块:Math”的源代码
因为以下原因,您没有权限编辑本页:
您可以查看与复制此页面的源代码。
--[[
引自维基百科(enwiki:Module:Math,oldid=613638641)
This module provides a number of basic mathematical operations.
]]
local yesno, getArgs -- lazily initialized
local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules.
local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua.
--[[
Helper functions used to avoid redundant code.
]]
local function err(msg)
-- Generates wikitext error messages.
return mw.ustring.format('<strong class="error">Formatting error: %s</strong>', msg)
end
000
1:0
该页面使用的模板:
返回至模块:Math。