Write a function that receives a function operating on floats , a lower bound and an upper bound . Then, returns a new function that operates exactly as when falls within the closed interval . Instead of outputs outside that interval, the function produced returns $float("-inf")$.
Author: Jordi Delgado and José Luis Balcázar
Generation: 2026-01-25T16:52:33.579Z
© Jutge.org, 2006–2026.
https://jutge.org