js1024

js1024

Annual JavaScript Golfing Competition

Status Closed · starts 1 July Participant rating Open

Calculator
by Gerardo-Juarez
Calculator performs operations with two numbers and has memory functions
1023/1024 bytes - HTML project


bWVtb3J5IGZ1bmN0aW9ucw0KTUMgY2xlYXIgbWVtb3J5DQpNKyBtb3JlIG1lbW9yeQ0KTS0gbWVtb3J5IGxlc3MNCk1SIHJlY2FsbCBtZW1vcnkNCkMgY2xlYW4gc2NyZWVuLCBkZWxldGUgcGVuZGluZyBvcGVyYXRpb25zLCBhbmQgd2FpdGluZyBudW1iZXJzLg0KKy8tIFByZXNzIHRoZSBrZXkgdG8gY2hhbmdlIHRoZSBzaWduIG9mIHRoZSBudW1iZXIgb24gdGhlIHNjcmVlbg0KDQpDYWxjdWxhdG9yIHBlcmZvcm1zIG9wZXJhdGlvbnMgd2l0aCB0d28gbnVtYmVycy4NCjEuLSBGaXJzdCBudW1iZXI6IHdlIHdyaXRlIHRoZSBmaXJzdCBudW1iZXIgb24gdGhlIHNjcmVlbi4NCjIuLSBvcGVyYXRvcjogd2UgcHJlc3MgdGhlIG9wZXJhdGlvbiBrZXkgRGl2aXNpb24gLywgTXVsdGlwbGljYXRpb24gKiwgQWRkaXRpb24gKywgU3VidHJhY3Rpb24tLg0KMy4tIFNlY29uZCBudW1iZXI6IHdlIHdyaXRlIHRoZSBzZWNvbmQgbnVtYmVyOiB3aGVuIHdlIHN0YXJ0IHdyaXRpbmcgdGhlIHNjcmVlbiByZXN0YXJ0cy4NCjQuLSBTYW1lOiBXZSBwcmVzcyB0aGUgPSBrZXkgYW5kIGl0IGdpdmVzIHVzIHRoZSByZXN1bHQgb2YgdGhlIG9wZXJhdGlvbi4NCg0KSWYgd2UgcHJlc3MgdGhlIGJ1dHRvbnMgaW4gdGhpcyBvcmRlciBleGFtcGxlICI1ICsgMyAqIDIgPSIgd2hlbiBwcmVzc2luZyB0aGUgYnV0dG9uICIqIiB0aGUgcHJldmlvdXMgb3BlcmF0aW9uIGlzIHNvbHZlZCwNCiBhbmQgdGhlIHJlc3VsdCBiZWNvbWVzIHRoZSBmaXJzdCBudW1iZXIgb2YgdGhlIGN1cnJlbnQgb3BlcmF0aW9uLg==

Comments & ratings

Participant feedback and public notes for this demo.

12 total

Rating comments

Feedback submitted with participant scores.

12
Anonymous participant 62/100

small and cute!! >.<

Anonymous participant 95/100

no comment

Anonymous participant 55/100

nothing creative, nothing thematic, but works

Anonymous participant 65/100

Impressive to get a fully working calculator within 1024B, but not particularly creative or fitting with the theme

Anonymous participant 55/100

no comment

Anonymous participant 50/100

Great

Anonymous participant 70/100

Love the code. Eval takes care of precedence and such.

Anonymous participant 40/100

A simple calculator with memory. Uses up almost all available bytes and doesn't seem to be very optimized.

Anonymous participant 25/100

no comment

Anonymous participant 66/100

Very well executed with edge cases taken care of, but a bit too serious ... not exactly what one would expect for a fun demo contest.

Anonymous participant 70/100

Neat! Note that calculators usually round display values to 10 s.f in order to hide compounding representation errors from users, i.e so that 0.1 + 0.2 = 0.3

Anonymous participant 85/100

Pretty neat. The JS part can be minified more using a crusher to give more space for styling.

Public comments

Notes left by visitors.

0

No public comments yet. Start the conversation below.

Leave a public comment

Your comment appears publicly after the human check.

0/512
Human checkOne quick verification before publishing.