• Show log

    Commit

  • Hash : a0dccde7
    Author : Bruno Haible
    Date : 2012-02-29T23:42:53

    cbrt: Provide replacement on MSVC and Minix.
    
    * lib/math.in.h (cbrt): New declaration.
    * lib/cbrt.c: New file.
    * m4/cbrt.m4: New file.
    * m4/math_h.m4 (gl_MATH_H): Test whether cbrt is declared.
    (gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRT, HAVE_CBRT.
    * modules/math (Makefile.am): Substitute GNULIB_CBRT, HAVE_CBRT.
    * modules/cbrt (Files): Add lib/cbrt.c, m4/cbrt.m4.
    (Depends-on): Add dependencies.
    (configure.ac): Arrange to compile replacement if HAVE_CBRT is 0.
    * tests/test-math-c++.cc: Check the declaration of cbrt.
    * doc/posix-functions/cbrt.texi: Mention that the module provides a
    replacement.
    

  • README

  • This directory contains metainformation about the gnulib modules, one or two
    files per module. These files are used by gnulib-tool.
    
    For every module,
      - the file <module> is the metainformation about the library code of the
        module,
      - the file <module>-tests is the metainformation about the unit test of
        the module (optional but recommended).
    
    All the files in this directory are distributed under the following copyright:
    
      Copyright (C) 2002-2012 Free Software Foundation, Inc.
      Copying and distribution of this file, with or without modification,
      in any medium, are permitted without royalty provided the copyright
      notice and this notice are preserved.