Skip to content

RandomKiddo/BadMath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bad Math

License


Goal

This repository is a proof-of-concept repository. It is supposed to be lightweight and humorous. This repository uses Java's internal reflect library to mess up the internal integer mathematics, so you can get funny things like 1+1=-56. This only works for methods System.out.printf or by setting variables like Integer i = 1 + 1;. If you do System.out.println(1+1);, the output is still 2.


This page was last edited 10.30.2022

About

A Java proof-of-concept on incorrect mathematics

Topics

Resources

License

Stars

Watchers

Forks

Languages