Skip to content

Allow log/pow on negative scale decimals #19250

@Jefffrey

Description

@Jefffrey

Is your feature request related to a problem or challenge?

#17023 introduced handling of decimals for log natively; previously we'd cast the input to float before performing the log.

It introduced a condition against negative scale decimals, as the implementation couldn't yet handle them. This is technically a regression as previously we could handle them via casting to float before doing the log.

Describe the solution you'd like

Short term solution: for negative scale decimals, cast to float to perform log

Long term/proper solution: improve decimal log code to handle negative scales

Additional context

Same for pow: #18032

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestregressionSomething that used to work no longer does

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions