1. A device, comprising: one or more processors to: execute a first program block associated with program code; set, based on executing the first program block, a first value of a scoped setting associated with the first program block, the first value of the scoped setting controlling a manner in which a first algorithm, identified in the first program block, is performed during execution of the first program block, the scoped setting including at least one of: an overflow setting, or a fraction length setting; detect a change in scope of the program code, the change in scope including execution of a second program block that is different from the first program block; determine, based on detecting the change, a relationship between the first program block and the second program block, the second program block being called by the first program block during execution of the first program block, execution of the program code returning to execution of the first program block after execution of the second program block; and set a second value of the scoped setting based on the relationship, the second value of the scoped setting controlling a manner in which a second algorithm, identified in the second program block, is performed during execution of the second program block.