-
4e5e59f6aa
add icon type
main
filifa
2025-12-15 23:25:12 -05:00
-
b240278e91
remove trailing comma
filifa
2025-12-15 23:19:26 -05:00
-
ab346408c9
mark icon as maskable
filifa
2025-12-15 23:17:37 -05:00
-
0ab61c3007
set svg size to any
filifa
2025-12-15 23:14:05 -05:00
-
5f5555eb50
fix indentation and move registration
filifa
2025-12-15 22:37:25 -05:00
-
2e9c4f1dc7
add service worker for offline access
filifa
2025-12-15 22:28:20 -05:00
-
85053cbf97
add sizes
filifa
2025-12-15 21:57:41 -05:00
-
a6e3ea3737
try changing start_url
filifa
2025-12-15 21:52:27 -05:00
-
432566354b
add scope and id
filifa
2025-12-15 21:48:44 -05:00
-
d84800138d
add short name
filifa
2025-12-15 21:38:49 -05:00
-
5f5f9aaed9
fix path
filifa
2025-12-15 21:28:05 -05:00
-
729588d37c
fix link
filifa
2025-12-15 21:18:12 -05:00
-
a037e4afec
add icon and manifest.json
filifa
2025-12-15 21:05:32 -05:00
-
7e18fe15b0
set monospace font for the whole page
filifa
2025-12-15 20:45:47 -05:00
-
f9c2b63476
add a noscript message
filifa
2025-12-15 20:45:47 -05:00
-
357fbe5cd8
make footer monospace
filifa
2025-12-15 20:45:47 -05:00
-
5b7316a90f
set height of buttons
filifa
2025-12-15 20:45:47 -05:00
-
150b0f7996
don't switch buttons back on automatically after computation
filifa
2025-12-15 20:45:47 -05:00
-
f3c6f8a67f
remove unneeded justify-content
filifa
2025-12-12 01:23:52 -05:00
-
a330bef49f
set mod label margins as percentages
filifa
2025-12-12 01:19:26 -05:00
-
f11f0a4e4b
don't wrap modulus box
filifa
2025-12-12 01:12:51 -05:00
-
dafe3ac7c5
add footer with link to source
filifa
2025-12-11 23:49:35 -05:00
-
b7aae4b1f1
add readme
filifa
2025-12-11 23:49:35 -05:00
-
b02774e725
always return smallest sqrt
filifa
2025-12-11 23:49:35 -05:00
-
23848c3d0a
importScripts consistency
filifa
2025-12-11 23:49:35 -05:00
-
ab0e51ed03
use evaluate and compute more consistently
filifa
2025-12-11 23:49:35 -05:00
-
409225e81b
control the whole evaluation process with a worker
filifa
2025-12-11 23:49:35 -05:00
-
7e7b805e3e
refactor
filifa
2025-12-11 23:49:35 -05:00
-
6d9b095778
put all initializations together
filifa
2025-12-11 23:49:35 -05:00
-
9efbe26cdd
disable text inputs on long calculations
filifa
2025-12-11 23:49:35 -05:00
-
9cc7835a2c
clear timeout on error too
filifa
2025-12-11 23:49:35 -05:00
-
688c9871b8
disable buttons during long calculation
filifa
2025-12-11 23:49:34 -05:00
-
a01e6fcac1
set display to calculating using a timer
filifa
2025-12-11 23:49:34 -05:00
-
1e2a324a66
have compute return instead of post
filifa
2025-12-11 23:49:34 -05:00
-
064b2c1aeb
add error handler
filifa
2025-12-11 23:49:34 -05:00
-
df81091258
move to workers dir
filifa
2025-12-11 23:49:34 -05:00
-
160cc7480b
move worker initiation
filifa
2025-12-11 23:49:34 -05:00
-
fcdf795387
use worker to avoid freezing
filifa
2025-12-11 23:49:34 -05:00
-
6175224c9b
add copyright header
filifa
2025-12-11 23:49:34 -05:00
-
4e91b1dc14
add multiplicative order button
filifa
2025-12-11 23:49:34 -05:00
-
39c009beb4
set font size on input selector
filifa
2025-12-11 23:49:34 -05:00
-
e1809ec2c4
use monospace font
filifa
2025-12-11 23:49:34 -05:00
-
19da0de417
inherit font sizes
filifa
2025-12-11 23:49:34 -05:00
-
d427a83279
display label for expression
filifa
2025-12-11 23:49:34 -05:00
-
c67f6a95f4
error on negative modulus
filifa
2025-12-11 23:49:34 -05:00
-
219ede5ef3
change error message
filifa
2025-12-11 23:49:34 -05:00
-
68a06f46ae
reorder conditions
filifa
2025-12-11 23:49:34 -05:00
-
f00597cabc
display error for invalid modulus
filifa
2025-12-11 23:49:34 -05:00
-
aa1399a574
add special case
filifa
2025-12-11 23:49:34 -05:00
-
f38c0f5063
mod the input
filifa
2025-12-11 23:49:34 -05:00
-
3f7519bed4
add function for legendre symbol
filifa
2025-12-11 23:49:34 -05:00
-
e55b3c89b0
refactor common logic
filifa
2025-12-11 23:49:34 -05:00
-
f8930cfb4f
make sqrt button functional
filifa
2025-12-11 23:49:34 -05:00
-
48492f0b87
implement tonelli shanks
filifa
2025-12-11 23:49:34 -05:00
-
cb33ef3f34
move math functions to separate file
filifa
2025-12-11 23:49:34 -05:00
-
ea7b808b57
start adding square root functionality
filifa
2025-12-11 23:49:34 -05:00
-
54a24cce06
change to bigint
filifa
2025-12-11 23:49:34 -05:00
-
25189661c7
handle unary minus
filifa
2025-12-11 23:49:34 -05:00
-
42d2e94fe6
try disabling buttons when modulus is focused
filifa
2025-12-11 23:49:34 -05:00
-
5294860fea
per MDN, change type from number to text
filifa
2025-12-11 23:49:34 -05:00
-
e2c6b7f657
evaluate on enter
filifa
2025-12-11 23:49:34 -05:00
-
328c4b9e22
implement inverse key
filifa
2025-12-11 23:49:34 -05:00
-
972513ea75
set expr as default input
filifa
2025-12-11 23:49:34 -05:00
-
20c793b31b
do not allow expressions in exponent
filifa
2025-12-11 23:49:34 -05:00
-
13bec9f40b
simplify loop logic a bit
filifa
2025-12-11 23:49:34 -05:00
-
d0f23af972
add license
filifa
2025-12-11 23:49:34 -05:00
-
ec60951f0e
get rid of variable
filifa
2025-12-11 23:49:34 -05:00
-
f65aebcdf6
rename function
filifa
2025-12-11 23:49:34 -05:00
-
e68a00a62c
split into compute module
filifa
2025-12-11 23:49:34 -05:00
-
11f91330df
mod result
filifa
2025-12-11 23:49:34 -05:00
-
0455d91928
add backspace function
filifa
2025-12-11 23:49:34 -05:00
-
6edffa672b
fix cursor starting in wrong spot
filifa
2025-12-11 23:49:34 -05:00
-
5d004370e3
insert at last cursor position when pressing button
filifa
2025-12-11 23:49:34 -05:00
-
0bd3b5682d
keep focus on currentInput
filifa
2025-12-11 23:49:34 -05:00
-
7fb2cbf7d9
make most of the buttons work
filifa
2025-12-11 23:49:34 -05:00
-
24145fffec
use valid ids
filifa
2025-12-11 23:49:34 -05:00
-
8fa6128089
make things bigger
filifa
2025-12-11 23:49:34 -05:00
-
71a1c0b72c
add inputmode=none
filifa
2025-12-11 23:49:34 -05:00
-
69a62dc4fb
add backspace button
filifa
2025-12-11 23:49:34 -05:00
-
dacf8caecf
adapt for small screens
filifa
2025-12-11 23:49:34 -05:00
-
becee9632f
add meta viewport tag
filifa
2025-12-11 23:49:34 -05:00
-
ffed91260e
put result on its own row
filifa
2025-12-11 23:49:34 -05:00
-
e03df9fb59
make output row flexbox so operator buttons don't get huge on zoom
filifa
2025-12-11 23:49:34 -05:00
-
8a8dc95c4c
adjust layout and add extra buttons
filifa
2025-12-11 23:49:34 -05:00
-
37b66ce1ec
use flex for modulus entry
filifa
2025-12-11 23:49:34 -05:00
-
c8641015cf
add buttons and layout
filifa
2025-12-11 23:49:34 -05:00
-
f8324b8a30
don't mod values when pushed
filifa
2025-12-11 23:49:34 -05:00
-
8a75177060
initial commit
filifa
2025-12-11 23:49:34 -05:00