Genetic improvement of data for maths functions

William B. Langdon, Oliver Krauss

Research output: Chapter in Book/Report/Conference proceedingsConference contributionpeer-review

Abstract

Genetic Improvement (GI) can be used to give better quality software and to create new functionality. We show that GI can evolve the PowerPC open source GNU C runtime library square root function into cube root, binary logarithm log2 and reciprocal square root. The GI cbrt is competitive in run-time performance and our inverted square root x-1/2 is far more accurate than the approximation used in the Quake video game. We use CMA-ES to adapt constants in a Newton-Raphson table, originally from glibc's sqrt, for other double precision mathematics functions. Such automatically customised math libraries might be used for mobile or low resource, IoT, mote, smart dust, bespoke cyber-physical systems. Evolutionary Computing (EC) can be used to not only adapt source code but also data, such as numerical constants, and could enable a new way to conduct software data maintenance. This is an exciting opportunity for the GECCO and optimisation communities.

Original languageEnglish
Title of host publicationGECCO 2021 Companion - Proceedings of the 2021 Genetic and Evolutionary Computation Conference Companion
PublisherAssociation for Computing Machinery, Inc
Pages31-32
Number of pages2
ISBN (Electronic)9781450383516
DOIs
Publication statusPublished - 7 Jul 2021
Event2021 Genetic and Evolutionary Computation Conference, GECCO 2021 - Virtual, Online, France
Duration: 10 Jul 202114 Jul 2021

Publication series

NameGECCO 2021 Companion - Proceedings of the 2021 Genetic and Evolutionary Computation Conference Companion

Conference

Conference2021 Genetic and Evolutionary Computation Conference, GECCO 2021
Country/TerritoryFrance
CityVirtual, Online
Period10.07.202114.07.2021

Keywords

  • autorepair
  • CASE
  • computer-aided software engineering
  • data transplantation
  • evolutionary computing
  • glibc
  • Newton's method
  • SBSE
  • search based software engineering
  • software engineering
  • software maintenance of empirical constants
  • vector normalisation

Fingerprint

Dive into the research topics of 'Genetic improvement of data for maths functions'. Together they form a unique fingerprint.

Cite this