"Fermat's Room" or "La habitaciĆ³n de Fermat," a 2007 film that I'd never heard of until I chose it on pay-per-view tonight, is my kind of movie. Trailer:
When I saw it was about mathematicians trapped in a shrinking room, I thought it would be good even if it was bad, but it happens not to need that conditional.