Commit Graph

53 Commits

Author SHA1 Message Date
filifa df81091258 move to workers dir 2025-12-11 23:49:34 -05:00
filifa 160cc7480b move worker initiation 2025-12-11 23:49:34 -05:00
filifa fcdf795387 use worker to avoid freezing 2025-12-11 23:49:34 -05:00
filifa 6175224c9b add copyright header 2025-12-11 23:49:34 -05:00
filifa 4e91b1dc14 add multiplicative order button 2025-12-11 23:49:34 -05:00
filifa 39c009beb4 set font size on input selector 2025-12-11 23:49:34 -05:00
filifa e1809ec2c4 use monospace font 2025-12-11 23:49:34 -05:00
filifa 19da0de417 inherit font sizes 2025-12-11 23:49:34 -05:00
filifa d427a83279 display label for expression 2025-12-11 23:49:34 -05:00
filifa c67f6a95f4 error on negative modulus 2025-12-11 23:49:34 -05:00
filifa 219ede5ef3 change error message 2025-12-11 23:49:34 -05:00
filifa 68a06f46ae reorder conditions 2025-12-11 23:49:34 -05:00
filifa f00597cabc display error for invalid modulus 2025-12-11 23:49:34 -05:00
filifa aa1399a574 add special case 2025-12-11 23:49:34 -05:00
filifa f38c0f5063 mod the input 2025-12-11 23:49:34 -05:00
filifa 3f7519bed4 add function for legendre symbol 2025-12-11 23:49:34 -05:00
filifa e55b3c89b0 refactor common logic 2025-12-11 23:49:34 -05:00
filifa f8930cfb4f make sqrt button functional 2025-12-11 23:49:34 -05:00
filifa 48492f0b87 implement tonelli shanks 2025-12-11 23:49:34 -05:00
filifa cb33ef3f34 move math functions to separate file 2025-12-11 23:49:34 -05:00
filifa ea7b808b57 start adding square root functionality 2025-12-11 23:49:34 -05:00
filifa 54a24cce06 change to bigint 2025-12-11 23:49:34 -05:00
filifa 25189661c7 handle unary minus 2025-12-11 23:49:34 -05:00
filifa 42d2e94fe6 try disabling buttons when modulus is focused 2025-12-11 23:49:34 -05:00
filifa 5294860fea per MDN, change type from number to text 2025-12-11 23:49:34 -05:00
filifa e2c6b7f657 evaluate on enter 2025-12-11 23:49:34 -05:00
filifa 328c4b9e22 implement inverse key 2025-12-11 23:49:34 -05:00
filifa 972513ea75 set expr as default input 2025-12-11 23:49:34 -05:00
filifa 20c793b31b do not allow expressions in exponent 2025-12-11 23:49:34 -05:00
filifa 13bec9f40b simplify loop logic a bit 2025-12-11 23:49:34 -05:00
filifa d0f23af972 add license 2025-12-11 23:49:34 -05:00
filifa ec60951f0e get rid of variable 2025-12-11 23:49:34 -05:00
filifa f65aebcdf6 rename function 2025-12-11 23:49:34 -05:00
filifa e68a00a62c split into compute module 2025-12-11 23:49:34 -05:00
filifa 11f91330df mod result 2025-12-11 23:49:34 -05:00
filifa 0455d91928 add backspace function 2025-12-11 23:49:34 -05:00
filifa 6edffa672b fix cursor starting in wrong spot 2025-12-11 23:49:34 -05:00
filifa 5d004370e3 insert at last cursor position when pressing button 2025-12-11 23:49:34 -05:00
filifa 0bd3b5682d keep focus on currentInput 2025-12-11 23:49:34 -05:00
filifa 7fb2cbf7d9 make most of the buttons work 2025-12-11 23:49:34 -05:00
filifa 24145fffec use valid ids 2025-12-11 23:49:34 -05:00
filifa 8fa6128089 make things bigger 2025-12-11 23:49:34 -05:00
filifa 71a1c0b72c add inputmode=none 2025-12-11 23:49:34 -05:00
filifa 69a62dc4fb add backspace button 2025-12-11 23:49:34 -05:00
filifa dacf8caecf adapt for small screens 2025-12-11 23:49:34 -05:00
filifa becee9632f add meta viewport tag 2025-12-11 23:49:34 -05:00
filifa ffed91260e put result on its own row 2025-12-11 23:49:34 -05:00
filifa e03df9fb59 make output row flexbox so operator buttons don't get huge on zoom 2025-12-11 23:49:34 -05:00
filifa 8a8dc95c4c adjust layout and add extra buttons 2025-12-11 23:49:34 -05:00
filifa 37b66ce1ec use flex for modulus entry 2025-12-11 23:49:34 -05:00