Predicted to enable oxidoreductase activity, acting on the CH-OH group of donors, NAD or NADP as acceptor. Predicted to act upstream of or within small molecule metabolic process. Human ortholog(s) of this gene implicated in pentosuria. Orthologous to human DCXR (dicarbonyl and L-xylulose reductase).