Ln(x) and Sqrtaï(x) function added

This commit is contained in:
Nitload
2023-01-23 20:38:57 +08:00
parent c14b7ae7f8
commit 4c5dfb4828
39 changed files with 254 additions and 40 deletions
+31
View File
@@ -0,0 +1,31 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>E439935D-B2A2-46AE-856D-2AA408428F33</ProjectGuid>
<!--457858db-8f6d-45ae-8571-166818eeb6f7-->
<ProjectHome>.</ProjectHome>
<StartupFile>
</StartupFile>
<SearchPath>
</SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
<Name>calc</Name>
<RootNamespace>calc</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<ItemGroup>
<Compile Include="file1.lua">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
</Project>
+20
View File
@@ -0,0 +1,20 @@
--region *.lua
--Date
--This file is automatically generated by the 【BabeLua】 plugin
a = 1;
b = 0.001;
c = 0;
while a-b > 0.0001*a do
c= (a+b)/2
b = math.sqrt( a*b )
a = c;
end
print(a,b)
--endregion