Skip to content

Add more math functions #851

@tylermenezes

Description

@tylermenezes

(edited by @nex3)


Sass, by default, has a very limited set of math functions. Some functions which are missing, but would be of use:

  • sqrt
  • pow
  • mod
  • log

This functionality can be added with third-party gems, but the fact that they're missing from the core just makes everything more difficult out-of-the-box.

There is very little benefit to keeping mathematical functions out of the core, because they have a standard, expected definition, so they're not really cluttering the namespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestspecs writtenSpecs have been written for the feature and at least one implementation passes them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions