Skip to content

Commit e18e46a

Browse files
committed
Fixed division
1 parent 1d240c9 commit e18e46a

36 files changed

Lines changed: 1050 additions & 1044 deletions

CONTFRAC.HTM

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<meta property="og:locale" content="en_US">
1919
<meta property="og:locale:alternate" content="es_ES">
2020
<meta property="og:description" content="This finds the continued fraction representation of rational numbers and quadratic irrationalities.">
21-
<meta property="article:published_time" content="2025-11-29">
21+
<meta property="article:published_time" content="2025-12-01">
2222
<meta property="fb:app_id" content="1495228927625175">
2323
<link rel="manifest" href="contfrac.webmanifest">
2424
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/FRACCONT.HTM">
@@ -455,7 +455,7 @@ To enter numbers in hexadecimal format, you will need to precede them by the str
455455
<h2>Source code</h2>
456456
<p>You can download the source of the current program and the old continued fraction applet from <a href="https://github.com/alpertron/calculators">GitHub</a>. Notice that the source code is in C language and you need the <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> environment in order to generate JavaScript.</p>
457457
</div>
458-
<p>Written by Dario Alpern. Last updated 29 November 2025.</p>
458+
<p>Written by Dario Alpern. Last updated 1 December 2025.</p>
459459
</div>
460460
<div id="helphelp"></div>
461461
<div id="result" aria-live="polite"></div>
@@ -577,8 +577,8 @@ self.onmessage=function(b){k?(m(e.getInputStringPtr(),b.data[0]),e.doWork()):Web
577577
"name": "Continued Fraction calculator",
578578
"description": "Web application that finds the continued fraction representation of rational numbers and quadratic irrationalities.",
579579
"image": ["https://www.alpertron.com.ar/contfrac.png"],
580-
"datePublished": "2025-11-29",
581-
"dateModified": "2025-11-29",
580+
"datePublished": "2025-12-01",
581+
"dateModified": "2025-12-01",
582582
"operatingSystem": "Any",
583583
"applicationCategory": "EducationalApplication",
584584
"author": {

CUAD.HTM

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<meta property="og:locale" content="es_ES">
2020
<meta property="og:locale:alternate" content="en_US">
2121
<meta property="og:description" content="Halla soluciones de ax^2 + bxy + cy^2 + dx + ey + f = 0.">
22-
<meta property="article:published_time" content="2025-11-29">
22+
<meta property="article:published_time" content="2025-12-01">
2323
<meta property="fb:app_id" content="1495228927625175">
2424
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/CUAD.HTM">
2525
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/QUAD.HTM">
@@ -324,7 +324,7 @@ button:disabled {color: #808080; background-color: #606060}
324324
<h2>Código fuente</h2>
325325
<p>Puedes bajar el código fuente de esta aplicación y del viejo applet de ecuaciones cuadráticas enteras desde <a href="https://github.com/alpertron/calculators">GitHub</a>. El código fuente está escrito en lenguaje C, por lo que es necesario <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> para generar JavaScript.</p>
326326
</div>
327-
<p>Escrito por Dario Alpern. Actualizado el 29 de noviembre de 2025.</p>
327+
<p>Escrito por Dario Alpern. Actualizado el 1 de diciembre de 2025.</p>
328328
</div>
329329
<div id="result" aria-live="polite"></div>
330330
<div id="footer">
@@ -435,8 +435,8 @@ button:disabled {color: #808080; background-color: #606060}
435435
"name": "Resolución de ecuaciones cuadráticas en dos variables enteras",
436436
"description": "Applicación Javascript que halla soluciones a ecuaciones cuadráticas enteras en dos variables.",
437437
"image": ["https://www.alpertron.com.ar/cuad.png"],
438-
"datePublished": "2025-11-29",
439-
"dateModified": "2025-11-29",
438+
"datePublished": "2025-12-01",
439+
"dateModified": "2025-12-01",
440440
"operatingSystem": "Any",
441441
"applicationCategory": "EducationalApplication",
442442
"author": {

CUADMOD.HTM

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<meta property="og:locale" content="es_ES">
1919
<meta property="og:locale:alternate" content="en_US">
2020
<meta property="og:description" content="Halla soluciones de la ecuación ax^2 + bx + c (mod n).">
21-
<meta property="article:published_time" content="2025-11-29">
21+
<meta property="article:published_time" content="2025-12-01">
2222
<meta property="fb:app_id" content="1495228927625175">
2323
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/CUADMOD.HTM">
2424
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/QUADMOD.HTM">
@@ -297,7 +297,7 @@ button:disabled {color: #808080; background-color: #606060}
297297
<h2>Código fuente</h2>
298298
<p>Puedes bajar el código fuente de esta aplicación y del viejo applet de ecuaciones cuadráticas modulares desde <a href="https://github.com/alpertron/calculators">GitHub</a>. El código fuente está escrito en lenguaje C, por lo que es necesario <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> para generar JavaScript.</p>
299299
</div>
300-
<p>Escrito por Dario Alpern. Actualizado el 29 de noviembre de 2025.</p>
300+
<p>Escrito por Dario Alpern. Actualizado el 1 de diciembre de 2025.</p>
301301
</div>
302302
<div id="result" aria-live="polite"></div>
303303
<div id="footer">
@@ -410,8 +410,8 @@ button:disabled {color: #808080; background-color: #606060}
410410
"name": "Resolución de ecuaciones cuadráticas modulares",
411411
"description": "Applicación Javascript que halla soluciones a ecuaciones cuadráticas modulares.",
412412
"image": ["https://www.alpertron.com.ar/quadmod.png"],
413-
"datePublished": "2025-11-29",
414-
"dateModified": "2025-11-29",
413+
"datePublished": "2025-12-01",
414+
"dateModified": "2025-12-01",
415415
"operatingSystem": "Any",
416416
"applicationCategory": "EducationalApplication",
417417
"author": {

ConsoleApplication1.vcxproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,27 @@
2929
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3030
<ConfigurationType>Application</ConfigurationType>
3131
<UseDebugLibraries>true</UseDebugLibraries>
32-
<PlatformToolset>v143</PlatformToolset>
32+
<PlatformToolset>v145</PlatformToolset>
3333
<CharacterSet>Unicode</CharacterSet>
3434
</PropertyGroup>
3535
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
3636
<ConfigurationType>Application</ConfigurationType>
3737
<UseDebugLibraries>true</UseDebugLibraries>
38-
<PlatformToolset>v143</PlatformToolset>
38+
<PlatformToolset>v145</PlatformToolset>
3939
<CharacterSet>Unicode</CharacterSet>
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
4242
<ConfigurationType>Application</ConfigurationType>
4343
<UseDebugLibraries>false</UseDebugLibraries>
44-
<PlatformToolset>v143</PlatformToolset>
44+
<PlatformToolset>v145</PlatformToolset>
4545
<WholeProgramOptimization>true</WholeProgramOptimization>
4646
<CharacterSet>Unicode</CharacterSet>
4747
<EnableASAN>true</EnableASAN>
4848
</PropertyGroup>
4949
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
5050
<ConfigurationType>Application</ConfigurationType>
5151
<UseDebugLibraries>false</UseDebugLibraries>
52-
<PlatformToolset>v143</PlatformToolset>
52+
<PlatformToolset>v145</PlatformToolset>
5353
<WholeProgramOptimization>true</WholeProgramOptimization>
5454
<CharacterSet>Unicode</CharacterSet>
5555
<EnableASAN>false</EnableASAN>
@@ -156,6 +156,7 @@
156156
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;FACTORIZATION_APP=1;ENABLE_VERBOSE;FACTORIZATION_FUNCTIONS=1;_LIB;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_USING64BITS_;USING_BLOCKLY=1;ENABLE_VERBOSE;POLYEXPR=1</PreprocessorDefinitions>
157157
<SDLCheck>true</SDLCheck>
158158
<AdditionalOptions>/F 3000000 %(AdditionalOptions)</AdditionalOptions>
159+
<AdditionalIncludeDirectories>$(ProjectDir)</AdditionalIncludeDirectories>
159160
</ClCompile>
160161
<Link>
161162
<SubSystem>Console</SubSystem>
@@ -177,6 +178,7 @@
177178
<ClCompile Include="quadraticeq.c" />
178179
<ClCompile Include="quartics.c" />
179180
<ClCompile Include="sumSquares.c" />
181+
<ClCompile Include="test.c" />
180182
<ClCompile Include="tsqcubes.c" />
181183
<ClCompile Include="baseconv.c" />
182184
<ClCompile Include="batch.c" />
@@ -224,7 +226,6 @@
224226
<ClCompile Include="sqroot.c">
225227
<DeploymentContent>true</DeploymentContent>
226228
</ClCompile>
227-
<ClCompile Include="test.c" />
228229
<ClCompile Include="showtime.c" />
229230
<ClCompile Include="tsquares.c" />
230231
</ItemGroup>

ConsoleApplication1.vcxproj.filters

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
<ClCompile Include="baseconv.c">
2828
<Filter>Archivos de código fuente</Filter>
2929
</ClCompile>
30-
<ClCompile Include="test.c">
31-
<Filter>Archivos de código fuente</Filter>
32-
</ClCompile>
3330
<ClCompile Include="expression.c">
3431
<Filter>Archivos de código fuente</Filter>
3532
</ClCompile>
@@ -192,6 +189,9 @@
192189
<ClCompile Include="MontMultGraphic.c">
193190
<Filter>Archivos de código fuente</Filter>
194191
</ClCompile>
192+
<ClCompile Include="test.c">
193+
<Filter>Archivos de código fuente</Filter>
194+
</ClCompile>
195195
</ItemGroup>
196196
<ItemGroup>
197197
<ClInclude Include="polynomial.h">

ConsoleApplication1.vcxproj.user

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@
88
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
99
</PropertyGroup>
1010
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
11-
<LocalDebuggerCommandArguments>"2**186-1"</LocalDebuggerCommandArguments>
11+
<LocalDebuggerCommandArguments>"10**59+213"</LocalDebuggerCommandArguments>
1212
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
13+
<LocalDebuggerCommandArgumentsHistory>"10**59+213"|</LocalDebuggerCommandArgumentsHistory>
1314
</PropertyGroup>
1415
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
15-
<LocalDebuggerCommandArguments>"10**800-22"</LocalDebuggerCommandArguments>
16+
<LocalDebuggerCommandArguments>"2**1278*(2**1279-1)"</LocalDebuggerCommandArguments>
1617
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
1718
<LocalDebuggerCommand>$(TargetPath)</LocalDebuggerCommand>
1819
<LocalDebuggerWorkingDirectory>$(ProjectDir)\x64\release</LocalDebuggerWorkingDirectory>
20+
<LocalDebuggerCommandArgumentsHistory>"10**800-22"|"10**59+213"|"10**1000/10**700"|"2**1278*(2**1279-1)"|</LocalDebuggerCommandArgumentsHistory>
1921
</PropertyGroup>
2022
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
2123
<LocalDebuggerCommandArguments>"GCD(60+50i, 19+22i)" 0</LocalDebuggerCommandArguments>

DIST.HTM

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<meta property="og:locale" content="es_ES">
1919
<meta property="og:locale:alternate" content="en_US">
2020
<meta property="og:description" content="Dos tests de conocimiento de distancia entre ciudades.">
21-
<meta property="article:published_time" content="2025-11-29">
21+
<meta property="article:published_time" content="2025-12-01">
2222
<meta property="fb:app_id" content="1495228927625175">
2323
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/DIST.HTM">
2424
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/DISTANCE.HTM">
@@ -381,8 +381,8 @@ Me parece que ud. tendría que jugar a un juego de rol.</div>
381381
"name": "Distancia entre ciudades",
382382
"description": "Aplicación Web que incluye dos tests de conocimiento de distancia entre ciudades.",
383383
"image": ["https://www.alpertron.com.ar/dist.png"],
384-
"datePublished": "2025-11-29",
385-
"dateModified": "2025-11-29",
384+
"datePublished": "2025-12-01",
385+
"dateModified": "2025-12-01",
386386
"operatingSystem": "Any",
387387
"applicationCategory": "EducationalApplication",
388388
"author": {

DISTANCE.HTM

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<meta property="og:locale" content="en_US">
1919
<meta property="og:locale:alternate" content="es_ES">
2020
<meta property="og:description" content="Two tests about distance between cities.">
21-
<meta property="article:published_time" content="2025-11-29">
21+
<meta property="article:published_time" content="2025-12-01">
2222
<meta property="fb:app_id" content="1495228927625175">
2323
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/DIST.HTM">
2424
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/DISTANCE.HTM">
@@ -381,8 +381,8 @@ You will perform better playing a role player video game.</div>
381381
"name": "Distance between cities",
382382
"description": "Web application which includes two tests about distance between cities.",
383383
"image": ["https://www.alpertron.com.ar/distance.png"],
384-
"datePublished": "2025-11-29",
385-
"dateModified": "2025-11-29",
384+
"datePublished": "2025-12-01",
385+
"dateModified": "2025-12-01",
386386
"operatingSystem": "Any",
387387
"applicationCategory": "EducationalApplication",
388388
"author": {

ECM.HTM

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<meta property="og:locale" content="en_US">
1919
<meta property="og:locale:alternate" content="es_ES">
2020
<meta property="og:description" content="This factors numbers using ECM and SIQS algorithms.">
21-
<meta property="article:published_time" content="2025-11-29">
21+
<meta property="article:published_time" content="2025-12-01">
2222
<meta property="fb:app_id" content="1495228927625175">
2323
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/ECMC.HTM">
2424
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/ECM.HTM">
@@ -1033,7 +1033,7 @@ The line to type is: <code>x=1;x=x+1;x&lt;10000;x;sumdigits(x, 10)==sumdigits(co
10331033
<p>You can download the source of the current program and the old factorization applet from <a href="https://github.com/alpertron/calculators">GitHub</a>. Notice that the source code is in C language and you need the <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> environment in order to generate JavaScript.</p>
10341034
</div>
10351035
</div>
1036-
<p>Written by Dario Alpern. Last updated 29 November 2025.</p>
1036+
<p>Written by Dario Alpern. Last updated 1 December 2025.</p>
10371037
</div>
10381038
<div id="helphelp"></div>
10391039
<div id="result" aria-live="polite"></div>
@@ -1325,8 +1325,8 @@ The line to type is: <code>x=1;x=x+1;x&lt;10000;x;sumdigits(x, 10)==sumdigits(co
13251325
"name": "Integer factorization calculator",
13261326
"description": "Web application that factors integers using ECM and SIQS algorithms.",
13271327
"image": ["https://www.alpertron.com.ar/ecm.png"],
1328-
"datePublished": "2025-11-29",
1329-
"dateModified": "2025-11-29",
1328+
"datePublished": "2025-12-01",
1329+
"dateModified": "2025-12-01",
13301330
"operatingSystem": "Any",
13311331
"applicationCategory": "EducationalApplication",
13321332
"author": {

ECMC.HTM

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<meta property="og:locale" content="es_ES">
1919
<meta property="og:locale:alternate" content="en_US">
2020
<meta property="og:description" content="Factoriza números enteros utilizando los algoritmos ECM y SIQS.">
21-
<meta property="article:published_time" content="2025-11-29">
21+
<meta property="article:published_time" content="2025-12-01">
2222
<meta property="fb:app_id" content="1495228927625175">
2323
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/ECMC.HTM">
2424
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/ECM.HTM">
@@ -1310,8 +1310,8 @@ La línea a escribir es: <code>x=1;x=x+1;x&lt;10000;x;sumdigits(x, 10)==sumdigit
13101310
"name": "Calculadora de factorización de números enteros",
13111311
"description": "Aplicación Web que factoriza números enteros utilizando los algoritmos ECM y SIQS.",
13121312
"image": ["https://www.alpertron.com.ar/ecmc.png"],
1313-
"datePublished": "2025-11-29",
1314-
"dateModified": "2025-11-29",
1313+
"datePublished": "2025-12-01",
1314+
"dateModified": "2025-12-01",
13151315
"operatingSystem": "Any",
13161316
"applicationCategory": "EducationalApplication",
13171317
"author": {

0 commit comments

Comments
 (0)