#1958: parfiles accept 1.0, 0.0, 1e3 for integer typed parameters -----------------------+---------------------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: optional | Milestone: ET_2016_11 Component: Cactus | Version: development version Resolution: | Keywords: -----------------------+----------------------------------------------------
Comment (by sbrandt):
I've updated the patch to deal with the trunc(1e300) issue. There are a number of ways this could be handled, but what I chose to do was to put integerize() back and have trunc() call it. This allows you to assign the output of trunc() to an int. I could leave it as a real and require int(trunc()) if that's what people want.