// Feature testing


// This not only tests for the pow() function
// as that can be done with function-exists()
// but this tests that the pow() function
// is capable of non-interger exponents.

@function ms-pow-exists() {
  @if pow(4, .5) == 2 {
    @return true;
  }
  @return false;
}

$ms-pow-exists: ms-pow-exists();
// Feature testing


// This not only tests for the pow() function
// as that can be done with function-exists()
// but this tests that the pow() function
// is capable of non-interger exponents.

@function ms-pow-exists() {
  @if pow(4, 2) == 16 {
    @return true;
  }
  @return false;
}

$ms-pow-exists: ms-pow-exists();


// Test if map capability exists
// maps are used to cache calculations

@function ms-cache-exists() {
  @if function-exists(map-get) == true {
    @return true;
  }
  @else {
    @return false;
  }
}

$ms-maps-exists: ms-cache-exists();
Make pow test less strict
Make pow test less strict
