notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q1
fxdiv C/C++ header-only library for division via FP inverse multiplication
g20181121 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout g20181121Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-08-17 19:13:11
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
License: MIT
WWW:
https://github.com/Maratyszcza/FXdiv
Description:
Header-only library for division via fixed-point multiplication by inverse. On modern CPUs and GPUs integer division is several times slower than multiplication. FXdiv implements an algorithm to replace an integer division with a multiplication and two shifts. This algorithm improves performance when an application performs repeated divisions by the same divisor. Features: * Integer division for uint32_t, uint64_t, and size_t * Header-only library, no installation or build required * Compatible with C99, C++, OpenCL, and CUDA * Uses platform-specific compiler intrinsics for optimal performance * Covered with unit tests and microbenchmarks
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. include/fxdiv.h
  2. @ldconfig
  3. /usr/local/share/licenses/fxdiv-g20181121/catalog.mk
  4. /usr/local/share/licenses/fxdiv-g20181121/LICENSE
  5. /usr/local/share/licenses/fxdiv-g20181121/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • fxdiv>0:devel/fxdiv
To install the port:
cd /usr/ports/devel/fxdiv/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/fxdiv
  • pkg install fxdiv
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: fxdiv
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1566067960 SHA256 (Maratyszcza-FXdiv-g20181121-f8c5354_GH0.tar.gz) = 94258c95f737916127ab70df1aa79d39575ed48dc6d23155a89747122d5d7797 SIZE (Maratyszcza-FXdiv-g20181121-f8c5354_GH0.tar.gz) = 8792

Packages (timestamps in pop-ups are UTC):
fxdiv
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latestg20181121g20181121n/an/an/an/an/an/a
FreeBSD:13:quarterlyg20181121g20181121n/an/an/an/an/an/a
FreeBSD:14:latestg20181121g20181121g20181121g20181121g20181121g20181121-g20181121
FreeBSD:14:quarterlyg20181121g20181121-g20181121g20181121g20181121g20181121g20181121
FreeBSD:15:latestg20181121g20181121n/ag20181121n/an/ag20181121g20181121
FreeBSD:15:quarterlyg20181121g20181121n/a-n/an/a--
FreeBSD:16:latestg20181121g20181121n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
This port is required by:
for Build
  1. devel/pthreadpool
  2. misc/py-pytorch
  3. misc/pytorch

Configuration Options:
No options to configure
Options name:
devel_fxdiv
USES:
cmake
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/Maratyszcza/FXdiv/tar.gz/f8c5354?dummy=/
Collapse this list.

There are no commits on branch 2026Q1 for this port