Back to index

php5  5.3.10
Functions
rmzero.c File Reference
#include <config.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
#include "bcmath.h"
#include "private.h"

Go to the source code of this file.

Functions

void _bc_rm_leading_zeros (bc_num num)

Function Documentation

Definition at line 46 of file rmzero.c.

{
  /* We can move n_value to point to the first non zero digit! */
  while (*num->n_value == 0 && num->n_len > 1) {
    num->n_value++;
    num->n_len--;
  }
}

Here is the caller graph for this function: