PowBasics 0.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PowBasics --version 0.1.0
NuGet\Install-Package PowBasics -Version 0.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PowBasics" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PowBasics" Version="0.1.0" />
<PackageReference Include="PowBasics" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PowBasics --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PowBasics, 0.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PowBasics@0.1.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PowBasics&version=0.1.0
#tool nuget:?package=PowBasics&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PowBasics
Math
public static class MathUtils
{
// Cap a number between 2 bounds (inclusive)
int Cap(int val, int min, int max);
/*
Compute the minimum number of multiples of b we need to be at least a
Note: this is not the same as integer division.
Integer division: 7 / 3 = 2 (but 2*3=6 doesn't cover/fill 7 completely)
FillingDiv(7, 3) = 3
*/
int FillingDiv(int a, int b);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on PowBasics:
| Package | Downloads |
|---|---|
|
PowWinForms
WinForms reactive utilities |
|
|
LINQPadExtras
LINQPad utility functions |
|
|
PowTrees
Tree structure with algorithms |
|
|
PowLINQPad
Reactive control and utilities for LINQPad |
|
|
ReactiveVars
Collection of general utility functions |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.1 | 324 | 1/17/2025 |
| 0.2.1 | 376 | 6/30/2024 |
| 0.2.0 | 294 | 6/30/2024 |
| 0.1.6 | 312 | 2/12/2024 |
| 0.1.5 | 286 | 1/31/2024 |
| 0.1.4 | 246 | 1/31/2024 |
| 0.1.3 | 252 | 1/31/2024 |
| 0.1.1 | 261 | 1/19/2024 |
| 0.1.0 | 267 | 1/19/2024 |
| 0.0.40 | 274 | 9/16/2023 |
| 0.0.39 | 259 | 9/16/2023 |
| 0.0.38 | 229 | 9/16/2023 |
| 0.0.37 | 283 | 9/16/2023 |
| 0.0.36 | 234 | 9/16/2023 |
| 0.0.35 | 302 | 9/15/2023 |
| 0.0.34 | 319 | 8/23/2023 |
| 0.0.33 | 305 | 8/22/2023 |
| 0.0.32 | 541 | 8/5/2023 |
| 0.0.31 | 283 | 7/30/2023 |
| 0.0.30 | 370 | 7/12/2023 |
Loading failed