12.07.2015 Views

specifications - Caltech

specifications - Caltech

specifications - Caltech

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Specificand Sets• For any specification (of a procedure) consider the set of allprocedures that satisfy it.– Almost always either empty (not useful) or infinite.• Example:/** REQUIRES: x >= 1* EFFECTS: Returns some y where 0 < y = 1, 0 < f(x)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!